Trait rs_graph::vec::NumberedIndexer [−][src]
This trait maps nodes or edges to an index.
In contrast to vec::Indexer
the mapping must be performed
without access to the graph. Hence, the node_id
and edge_id
methods of an IndexGraph
are not available.
Required Methods
Implementors
impl<N> NumberedIndexer<N> for NodeIndexer where
N: NumberedNode,impl<E> NumberedIndexer<E> for EdgeIndexer where
E: NumberedEdge,impl<E> NumberedIndexer<E> for BiEdgeIndexer where
E: BiNumberedEdge,