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