pub struct GcPtr<T: Default + Reset + Traceable> { /* private fields */ }Expand description
A raw pointer to a GC-managed object. Copy and no Drop. Used during tracing to avoid affecting ref_counts.
Trait Implementations§
impl<T: Default + Reset + Traceable> Copy for GcPtr<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for GcPtr<T>
impl<T> !Send for GcPtr<T>
impl<T> !Sync for GcPtr<T>
impl<T> !UnwindSafe for GcPtr<T>
impl<T> Freeze for GcPtr<T>
impl<T> Unpin for GcPtr<T>
impl<T> UnsafeUnpin for GcPtr<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