pub struct GcHead { /* private fields */ }Expand description
GC node info
Implementations§
Source§impl GcHead
impl GcHead
pub fn is_local(&self) -> bool
pub fn is_root_or_local(&self) -> bool
Sourcepub fn partition_id(&self) -> GcPartitionId
pub fn partition_id(&self) -> GcPartitionId
Get node’s partition id
Sourcepub fn payload(&self, registry: &GcTypeRegistry) -> NonNull<u8>
pub fn payload(&self, registry: &GcTypeRegistry) -> NonNull<u8>
Get raw pointer to payload data using the heap’s type registry.
Source§impl GcHead
impl GcHead
pub fn debug_set_dbg_string(&mut self, str: Cow<'static, str>)
pub fn debug_dbg_string(&self) -> &Cow<'static, str>
pub fn debug_assert_node_valid_simple(&self)
pub fn debug_assert_node_valid(&self, heap: &GcHeap)
Trait Implementations§
Auto Trait Implementations§
impl !Send for GcHead
impl !Sync for GcHead
impl Freeze for GcHead
impl RefUnwindSafe for GcHead
impl Unpin for GcHead
impl UnsafeUnpin for GcHead
impl UnwindSafe for GcHead
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