pub struct GcRoot<'c, T: GcTarget<'c> + ?Sized + 'c> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'c, T: GcTarget<'c> + ?Sized + 'c> GcTarget<'c> for GcRoot<'c, T>
impl<'c, T: GcTarget<'c> + ?Sized + 'c> GcTarget<'c> for GcRoot<'c, T>
fn trace(&self, token: &mut GcTraceToken<'c>)
impl<'c, T: Eq + GcTarget<'c> + ?Sized + 'c> Eq for GcRoot<'c, T>
impl<'c, T: GcTarget<'c> + ?Sized + 'c> StructuralEq for GcRoot<'c, T>
Auto Trait Implementations§
impl<'c, T> !RefUnwindSafe for GcRoot<'c, T>
impl<'c, T> !Send for GcRoot<'c, T>
impl<'c, T> !Sync for GcRoot<'c, T>
impl<'c, T: ?Sized> Unpin for GcRoot<'c, T>
impl<'c, T> !UnwindSafe for GcRoot<'c, 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