pub trait WithSuccessors: DirectedGraph{
// 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§
fn successors(&self, node: Self::Node) -> <Self as GraphSuccessors<'_>>::Iter
Provided Methods§
fn depth_first_search(&self, from: Self::Node) -> DepthFirstSearch<'_, Self> ⓘwhere
Self: WithNumNodes,
Object Safety§
This trait is not object safe.