pub struct thread;Expand description
The type of independent threads of execution, used to implement coroutines.
Threads are created with coroutine::create and are not related to
operating-system threads. See the coroutine library.
Auto Trait Implementations§
impl Freeze for thread
impl RefUnwindSafe for thread
impl Send for thread
impl Sync for thread
impl Unpin for thread
impl UnsafeUnpin for thread
impl UnwindSafe for thread
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more