Skip to main content

CsrEdgeId

Type Alias CsrEdgeId 

Source
pub type CsrEdgeId<Index> = LocalId<EdgeAxis, Index>;
Expand description

Local edge ID for CsrGraph.

Values are dense handles into the flat CSR target array. They are topology-local IDs and are not stable across sorting, rebuilding, or compaction unless a higher layer defines that contract. This is an alias of the shared LocalId branded by the edge axis.

§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 CsrEdgeId<Index> { /* private fields */ }