Trait GraphIndex
petgraph::graph
pub trait GraphIndex: Copy { }
A GraphIndex is a node or edge index.
GraphIndex
impl<Ix: IndexType> GraphIndex for EdgeIndex<Ix>
fn index(&self) -> usize
fn is_node_index() -> bool
impl<Ix: IndexType> GraphIndex for NodeIndex<Ix>