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>