Trait rustc_data_structures::graph::Successors

source ·
pub trait Successors: DirectedGraph {
    // Required method
    fn successors(&self, node: Self::Node) -> impl Iterator<Item = Self::Node>;
}

Required Methods§

source

fn successors(&self, node: Self::Node) -> impl Iterator<Item = Self::Node>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

fn successors(&self, node: Self::Node) -> impl Iterator<Item = Self::Node>

Implementors§

source§

impl<N: Idx + Ord, const BR: bool> Successors for VecGraph<N, BR>

source§

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