Trait petgraph::visit::EdgeCount [−][src]
A graph with a known edge count.
Required methods
fn edge_count(&self) -> usize
[src]
Return the number of edges in the graph.
Implementations on Foreign Types
impl<'a, G> EdgeCount for &'a G where
G: EdgeCount,
[src]
G: EdgeCount,
fn edge_count(&self) -> usize
[src]
Implementors
impl<N, E, Ty> EdgeCount for GraphMap<N, E, Ty> where
N: NodeTrait,
Ty: EdgeType,
[src]
N: NodeTrait,
Ty: EdgeType,
fn edge_count(&self) -> usize
[src]
impl<N, E, Ty> EdgeCount for MatrixGraph<N, E, Ty> where
N: NodeTrait,
Ty: EdgeType,
[src]
N: NodeTrait,
Ty: EdgeType,
fn edge_count(&self) -> usize
[src]
impl<N, E, Ty, Ix> EdgeCount for Csr<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
Ty: EdgeType,
Ix: IndexType,
fn edge_count(&self) -> usize
[src]
impl<N, E, Ty, Ix> EdgeCount for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
Ty: EdgeType,
Ix: IndexType,
fn edge_count(&self) -> usize
[src]
impl<N, E, Ty, Ix> EdgeCount for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
Ty: EdgeType,
Ix: IndexType,