rustc_data_structures::graph

Function depth_first_search

Source
pub fn depth_first_search<G>(graph: G, from: G::Node) -> DepthFirstSearch<G> 
where G: Successors,