pub trait NodeCount: GraphBase {
// Required method
fn node_count(&self) -> usize;
}Expand description
A graph with a known node count.
Required Methods§
fn node_count(&self) -> usize
Implementations on Foreign Types§
Implementors§
impl<'a, G> NodeCount for Frozen<'a, G>where
G: NodeCount,
impl<G> NodeCount for Reversed<G>where
G: NodeCount,
impl<G, F> NodeCount for EdgeFiltered<G, F>where
G: NodeCount,
impl<N, E, Ty> NodeCount for GraphMap<N, E, Ty>
impl<N, E, Ty, Ix> NodeCount for Csr<N, E, Ty, Ix>
impl<N, E, Ty, Ix> NodeCount for Graph<N, E, Ty, Ix>
impl<N, E, Ty, Ix> NodeCount for StableGraph<N, E, Ty, Ix>
Available on crate feature
stable_graph only.