pub struct ThreadRef { /* private fields */ }Expand description
A thread (coroutine).
A reference into the collector’s heap: valid while what it names is reachable from
the script, from a running call’s arguments, or from a Root.
Trait Implementations§
impl Copy for ThreadRef
impl Eq for ThreadRef
impl StructuralPartialEq for ThreadRef
Auto Trait Implementations§
impl Forget for ThreadRef
impl Freeze for ThreadRef
impl Move for ThreadRef
impl RefUnwindSafe for ThreadRef
impl Send for ThreadRef
impl Sync for ThreadRef
impl Unpin for ThreadRef
impl UnsafeUnpin for ThreadRef
impl UnwindSafe for ThreadRef
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