Trait petgraph::visit::NodeIndexable [] [src]

pub trait NodeIndexable: GraphBase {
    fn node_bound(&self) -> usize;
    fn to_index(Self::NodeId) -> usize;
}

The graph’s NodeIds map to indices

Required Methods

Implementors