pub struct GcBox<T: ?Sized> { /* private fields */ }Expand description
A heap-allocated, GC-tracked value plus its header.
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for GcBox<T>
impl<T> !RefUnwindSafe for GcBox<T>
impl<T> !Send for GcBox<T>
impl<T> !Sync for GcBox<T>
impl<T> Unpin for GcBox<T>
impl<T> UnsafeUnpin for GcBox<T>where
T: UnsafeUnpin + ?Sized,
impl<T> !UnwindSafe for GcBox<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