[][src]Enum rustc_ap_rustc_data_structures::graph::iterate::NodeStatus

pub enum NodeStatus {
    Visited,
    Settled,
}

The status of a node in the depth-first search.

See the documentation of TriColorDepthFirstSearch to see how a node's status is updated during DFS.

Variants

Visited

This node has been examined by the depth-first search but is not yet Settled.

Also referred to as "gray" or "discovered" nodes in CLR.

Settled

This node and all nodes reachable from it have been examined by the depth-first search.

Also referred to as "black" or "finished" nodes in CLR.

Trait Implementations

impl Clone for NodeStatus[src]

impl Copy for NodeStatus[src]

impl Debug for NodeStatus[src]

impl Eq for NodeStatus[src]

impl PartialEq<NodeStatus> for NodeStatus[src]

impl StructuralEq for NodeStatus[src]

impl StructuralPartialEq for NodeStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<E> SpecializationError for E[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.