#[repr(C)]pub struct GCCellPtr {
pub ptr: usize,
}
Expand description
A GC pointer, tagged with the trace kind.
In general, a GC pointer should be stored with an exact type. This class is for use when that is not possible because a single pointer must point to several kinds of GC thing.
Fields§
§ptr: usize
Trait Implementations§
source§impl PartialEq<GCCellPtr> for GCCellPtr
impl PartialEq<GCCellPtr> for GCCellPtr
impl Copy for GCCellPtr
impl StructuralPartialEq for GCCellPtr
Auto Trait Implementations§
impl RefUnwindSafe for GCCellPtr
impl Send for GCCellPtr
impl Sync for GCCellPtr
impl Unpin for GCCellPtr
impl UnwindSafe for GCCellPtr
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