Trait rustc_data_structures::graph::Predecessors

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

Required Methods§

source

fn predecessors(&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: Predecessors> Predecessors for &'graph G

source§

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

Implementors§

source§

impl<N: Idx + Ord> Predecessors for VecGraph<N, true>