Struct rustc_data_structures::graph::scc::Sccs[][src]

pub struct Sccs<N: Idx, S: Idx> { /* fields omitted */ }

Strongly connected components (SCC) of a graph. The type N is the index type for the graph nodes and S is the index type for the SCCs. We can map from each node to the SCC that it participates in, and we also have the successors of each SCC.

Methods

impl<N: Idx, S: Idx> Sccs<N, S>
[src]

Returns the number of SCCs in the graph.

Returns an iterator over the SCCs in the graph.

Returns the SCC to which a node r belongs.

Important traits for &'a [u8]

Returns the successors of the given SCC.

Auto Trait Implementations

impl<N, S> Send for Sccs<N, S> where
    S: Send

impl<N, S> Sync for Sccs<N, S> where
    S: Sync