Struct petgraph::algo::dominators::Dominators [] [src]

pub struct Dominators<N> where
    N: Copy + Eq + Hash
{ /* fields omitted */ }

The dominance relation for some graph and root.

Methods

impl<N> Dominators<N> where
    N: Copy + Eq + Hash
[src]

Get the root node used to construct these dominance relations.

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 that 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.

Trait Implementations

impl<N: Debug> Debug for Dominators<N> where
    N: Copy + Eq + Hash
[src]

Formats the value using the given formatter. Read more

impl<N: Clone> Clone for Dominators<N> where
    N: Copy + Eq + Hash
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<N> Send for Dominators<N> where
    N: Send

impl<N> Sync for Dominators<N> where
    N: Sync