Function petgraph::graph::edge_index[][src]

pub fn edge_index<Ix: IndexType>(index: usize) -> EdgeIndex<Ix>
[]

Short version of EdgeIndex::new