petgraph::graph
pub trait GraphIndex: Copy { }
A GraphIndex is a node or edge index.
GraphIndex
impl<Ix: IndexType> GraphIndex for NodeIndex<Ix>
impl<Ix: IndexType> GraphIndex for EdgeIndex<Ix>