Trait rustc_data_structures::graph::GraphSuccessors

source ·
pub trait GraphSuccessors<'graph> {
    type Item;
    type Iter: Iterator<Item = Self::Item>;
}

Required Associated Types§

source

type Item

source

type Iter: Iterator<Item = Self::Item>

Implementations on Foreign Types§

source§

impl<'iter, 'graph, G: WithSuccessors> GraphSuccessors<'iter> for &'graph G

§

type Item = <G as DirectedGraph>::Node

§

type Iter = <G as GraphSuccessors<'iter>>::Iter

Implementors§

source§

impl<'graph, N: Idx> GraphSuccessors<'graph> for VecGraph<N>

§

type Item = N

§

type Iter = Cloned<Iter<'graph, N>>

source§

impl<'graph, N: Idx, S: Idx> GraphSuccessors<'graph> for Sccs<N, S>

§

type Item = S

§

type Iter = Cloned<Iter<'graph, S>>