Function rustc_data_structures::graph::is_cyclic [−][src]
pub fn is_cyclic<G>(graph: &G) -> bool where
G: ?Sized + DirectedGraph + WithStartNode + WithSuccessors + WithNumNodes, Expand description
Returns true if the graph has a cycle that is reachable from the start node.