Struct petgraph::graph::EdgeIndex
[−]
[src]
pub struct EdgeIndex<Ix = DefIndex>(_);
Edge identifier.
Methods
impl<Ix: IndexType = DefIndex> EdgeIndex<Ix>
fn new(x: usize) -> Self
fn index(self) -> usize
fn end() -> Self
An invalid EdgeIndex used to denote absence of an edge, for example to end an adjacency list.