pub struct GcWeak<T: Trace + 'static>(pub Gc<T>);Expand description
A weak handle to a GcRef<T>. Phase D-1 placeholder; D-2 will give
this real semantics (None once the referent is swept).
Tuple Fields§
§0: Gc<T>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for GcWeak<T>
impl<T> !RefUnwindSafe for GcWeak<T>
impl<T> !Send for GcWeak<T>
impl<T> !Sync for GcWeak<T>
impl<T> Unpin for GcWeak<T>where
T: Unpin,
impl<T> UnsafeUnpin for GcWeak<T>
impl<T> !UnwindSafe for GcWeak<T>
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