pub trait NodeCount: GraphBase {
    // Required method
    fn node_count(&self) -> usize;
}
Expand description

A graph with a known node count.

Required Methods§

source

fn node_count(&self) -> usize

Implementations on Foreign Types§

source§

impl<'a, G> NodeCount for &'a Gwhere G: NodeCount,

Implementors§

source§

impl<'a, G> NodeCount for Frozen<'a, G>where G: NodeCount,

source§

impl<E, Ix> NodeCount for List<E, Ix>where Ix: IndexType,

source§

impl<G> NodeCount for Reversed<G>where G: NodeCount,

source§

impl<G, F> NodeCount for EdgeFiltered<G, F>where G: NodeCount,

source§

impl<N, E, Ty> NodeCount for GraphMap<N, E, Ty>where N: NodeTrait, Ty: EdgeType,

source§

impl<N, E, Ty, Ix> NodeCount for Csr<N, E, Ty, Ix>where Ty: EdgeType, Ix: IndexType,

source§

impl<N, E, Ty, Ix> NodeCount for StableGraph<N, E, Ty, Ix>where Ty: EdgeType, Ix: IndexType,

source§

impl<N, E, Ty, Ix> NodeCount for Graph<N, E, Ty, Ix>where Ty: EdgeType, Ix: IndexType,

source§

impl<N, E, Ty, Null, Ix> NodeCount for MatrixGraph<N, E, Ty, Null, Ix>where Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType,