Struct petgraph::algo::dominators::Dominators [−][src]
Expand description
The dominance relation for some graph and root.
Implementations
Get the immediate dominator of the given node.
Returns None
for any node that is not reachable from the root, and for
the root itself.
Iterate over the given node’s strict dominators.
If the given node is not reachable from the root, then None
is
returned.
Iterate over all of the given node’s dominators (including the given node itself).
If the given node is not reachable from the root, then None
is
returned.
pub fn immediately_dominated_by(&self, node: N) -> DominatedByIter<'_, N>ⓘNotable traits for DominatedByIter<'a, N>impl<'a, N> Iterator for DominatedByIter<'a, N> where
N: 'a + Copy + Eq + Hash, type Item = N;
pub fn immediately_dominated_by(&self, node: N) -> DominatedByIter<'_, N>ⓘNotable traits for DominatedByIter<'a, N>impl<'a, N> Iterator for DominatedByIter<'a, N> where
N: 'a + Copy + Eq + Hash, type Item = N;
Notable traits for DominatedByIter<'a, N>
impl<'a, N> Iterator for DominatedByIter<'a, N> where
N: 'a + Copy + Eq + Hash, type Item = N;
Iterate over all nodes immediately dominated by the given node (not including the given node itself).
Trait Implementations
Auto Trait Implementations
impl<N> RefUnwindSafe for Dominators<N> where
N: RefUnwindSafe,
impl<N> Send for Dominators<N> where
N: Send,
impl<N> Sync for Dominators<N> where
N: Sync,
impl<N> Unpin for Dominators<N> where
N: Unpin,
impl<N> UnwindSafe for Dominators<N> where
N: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more