Trait petgraph::visit::NodeCount [−][src]
pub trait NodeCount: GraphBase { fn node_count(&self) -> usize; }
A graph with a known node count.
Required methods
fn node_count(&self) -> usize
[src]
Implementations on Foreign Types
impl<'a, G> NodeCount for &'a G where
G: NodeCount,
[src]
impl<'a, G> NodeCount for &'a G where
G: NodeCount,
[src]fn node_count(&self) -> usize
[src]
Implementors
impl<G, F> NodeCount for EdgeFiltered<G, F> where
G: NodeCount,
[src]
impl<G, F> NodeCount for EdgeFiltered<G, F> where
G: NodeCount,
[src]fn node_count(&self) -> usize
[src]
impl<N, E, Ty> NodeCount for GraphMap<N, E, Ty> where
N: NodeTrait,
Ty: EdgeType,
[src]
impl<N, E, Ty> NodeCount for GraphMap<N, E, Ty> where
N: NodeTrait,
Ty: EdgeType,
[src]fn node_count(&self) -> usize
[src]
impl<N, E, Ty, Ix> NodeCount for Csr<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> NodeCount for Csr<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]fn node_count(&self) -> usize
[src]
impl<N, E, Ty, Ix> NodeCount for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> NodeCount for Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]fn node_count(&self) -> usize
[src]
impl<N, E, Ty, Ix> NodeCount for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<N, E, Ty, Ix> NodeCount for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]fn node_count(&self) -> usize
[src]
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> NodeCount for MatrixGraph<N, E, Ty, Null, Ix>
[src]
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> NodeCount for MatrixGraph<N, E, Ty, Null, Ix>
[src]