pub trait NodeCompactIndexable: NodeIndexable + NodeCount { }
Expand description

The graph’s NodeIds map to indices, in a range without holes.

The graph’s node identifiers correspond to exactly the indices 0..self.node_bound().

Implementations on Foreign Types§

source§

impl<'a, G> NodeCompactIndexable for &'a Gwhere G: NodeCompactIndexable,

Implementors§

source§

impl<'a, G> NodeCompactIndexable for Frozen<'a, G>where G: NodeCompactIndexable,

source§

impl<E, Ix: IndexType> NodeCompactIndexable for List<E, Ix>

source§

impl<G> NodeCompactIndexable for Reversed<G>where G: NodeCompactIndexable,

source§

impl<G, F> NodeCompactIndexable for EdgeFiltered<G, F>where G: NodeCompactIndexable,

source§

impl<N, E, Ty> NodeCompactIndexable for GraphMap<N, E, Ty>where N: NodeTrait, Ty: EdgeType,

source§

impl<N, E, Ty, Ix> NodeCompactIndexable for Csr<N, E, Ty, Ix>where Ty: EdgeType, Ix: IndexType,

source§

impl<N, E, Ty, Ix> NodeCompactIndexable for Graph<N, E, Ty, Ix>where Ty: EdgeType, Ix: IndexType,