[][src]Trait petgraph::visit::EdgeCount

pub trait EdgeCount: GraphBase {
    pub fn edge_count(&self) -> usize;
}

A graph with a known edge count.

Required methods

pub fn edge_count(&self) -> usize[src]

Return the number of edges in the graph.

Loading content...

Implementations on Foreign Types

impl<'a, G> EdgeCount for &'a G where
    G: EdgeCount
[src]

Loading content...

Implementors

impl<N, E, Ty> EdgeCount for GraphMap<N, E, Ty> where
    N: NodeTrait,
    Ty: EdgeType
[src]

impl<N, E, Ty> EdgeCount for MatrixGraph<N, E, Ty> where
    N: NodeTrait,
    Ty: EdgeType
[src]

impl<N, E, Ty, Ix> EdgeCount for Csr<N, E, Ty, Ix> where
    Ty: EdgeType,
    Ix: IndexType
[src]

impl<N, E, Ty, Ix> EdgeCount for Graph<N, E, Ty, Ix> where
    Ty: EdgeType,
    Ix: IndexType
[src]

impl<N, E, Ty, Ix> EdgeCount for StableGraph<N, E, Ty, Ix> where
    Ty: EdgeType,
    Ix: IndexType
[src]

Loading content...