rustc_data_structures::graph

Trait NumEdges

source
pub trait NumEdges: DirectedGraph {
    // Required method
    fn num_edges(&self) -> usize;
}

Required Methods§

source

fn num_edges(&self) -> usize

Implementors§

source§

impl<N: Idx, S: Idx + Ord, A: Annotation> NumEdges for Sccs<N, S, A>

source§

impl<N: Idx, const BR: bool> NumEdges for VecGraph<N, BR>