pub struct GcNode {
pub refs: Vec<u32>,
pub is_root: bool,
pub marked: bool,
}Expand description
A node in the GC graph.
Fields§
§refs: Vec<u32>Direct references to other nodes.
is_root: boolWhether this node is a GC root.
marked: boolWhether the node has been marked (reachable from roots).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcNode
impl RefUnwindSafe for GcNode
impl Send for GcNode
impl Sync for GcNode
impl Unpin for GcNode
impl UnsafeUnpin for GcNode
impl UnwindSafe for GcNode
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