pub trait WithPredecessors: DirectedGraphwhere
    Self: for<'graph> GraphPredecessors<'graph, Item = Self::Node>,{
    // Required method
    fn predecessors(
        &self,
        node: Self::Node
    ) -> <Self as GraphPredecessors<'_>>::Iter;
}

Required Methods§

source

fn predecessors( &self, node: Self::Node ) -> <Self as GraphPredecessors<'_>>::Iter

Implementations on Foreign Types§

source§

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

source§

fn predecessors( &self, node: Self::Node ) -> <Self as GraphPredecessors<'_>>::Iter

Implementors§