pub trait WithNumNodes: DirectedGraph {
    // Required method
    fn num_nodes(&self) -> usize;
}

Required Methods§

source

fn num_nodes(&self) -> usize

Implementations on Foreign Types§

source§

impl<'graph, G: WithNumNodes> WithNumNodes for &'graph G

Implementors§

source§

impl<N: Idx> WithNumNodes for VecGraph<N>

source§

impl<N: Idx, S: Idx + Ord> WithNumNodes for Sccs<N, S>