[]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

impl Copy for NodeStatus

impl Debug for NodeStatus

impl Eq for NodeStatus

impl PartialEq<NodeStatus> for NodeStatus

impl StructuralEq for NodeStatus

impl StructuralPartialEq for NodeStatus

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

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

impl<T> Erased for T

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.