pub struct GraphNode {
pub id: u64,
pub edge_count: u32,
pub partition_id: u32,
pub edge_list_slot: SlotHandle,
pub coherence_score: u16,
pub mutation_epoch: u64,
/* private fields */
}Expand description
Graph node stored in the node slab.
Fields§
§id: u64Node ID.
edge_count: u32Number of outgoing edges.
partition_id: u32Partition ID for MinCut coherence.
edge_list_slot: SlotHandleHandle to the edge list slot.
coherence_score: u16Coherence score for this node.
mutation_epoch: u64Mutation epoch.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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