pub trait WithSuccessors: DirectedGraph
where Self: for<'graph> GraphSuccessors<'graph, Item = Self::Node>,
{ // Required method fn successors( &self, node: Self::Node ) -> <Self as GraphSuccessors<'_>>::Iter; // Provided method fn depth_first_search(&self, from: Self::Node) -> DepthFirstSearch<'_, Self> where Self: WithNumNodes { ... } }

Required Methods§

source

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

Provided Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

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

Implementors§

source§

impl<N: Idx + Ord> WithSuccessors for VecGraph<N>

source§

impl<N: Idx, S: Idx + Ord> WithSuccessors for Sccs<N, S>