Trait rustc_data_structures::graph::WithSuccessors [−][src]
Required methods
fn successors(&self, node: Self::Node) -> Self::Iter[src]
Provided methods
fn depth_first_search(&self, from: Self::Node) -> DepthFirstSearch<'_, Self>ⓘNotable traits for DepthFirstSearch<'_, G>
impl<G: ?Sized> Iterator for DepthFirstSearch<'_, G> where
G: DirectedGraph + WithNumNodes + WithSuccessors, type Item = G::Node; where
Self: WithNumNodes, [src]
Notable traits for DepthFirstSearch<'_, G>
impl<G: ?Sized> Iterator for DepthFirstSearch<'_, G> where
G: DirectedGraph + WithNumNodes + WithSuccessors, type Item = G::Node;Self: WithNumNodes,
Implementations on Foreign Types
impl<'graph, G: WithSuccessors> WithSuccessors for &'graph G[src]
fn successors(
&self,
node: Self::Node
) -> <&'graph G as GraphSuccessors<'_>>::Iterⓘ[src]
&self,
node: Self::Node
) -> <&'graph G as GraphSuccessors<'_>>::Iterⓘ