Skip to main content

CsrNodeId

Type Alias CsrNodeId 

Source
pub type CsrNodeId<Index> = LocalId<NodeAxis, Index>;
Expand description

Local node ID for CsrGraph.

Values are dense handles in 0..node_count for one validated CSR view. They are topology-local IDs and are not stable across rebuilding or compaction unless a higher layer defines that contract. This is an alias of the shared LocalId branded by the node axis, so a built graph and its borrowed snapshot view yield the same handle type.

§Performance

Copying, comparing, ordering, hashing, and debug-formatting are O(1) when the underlying index type provides those operations in O(1).

Aliased Type§

pub struct CsrNodeId<Index> { /* private fields */ }