Enum rustc_ap_rustc_data_structures::graph::iterate::NodeStatus [−][src]
pub enum NodeStatus { Visited, Settled, }
Expand description
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
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.
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
Auto Trait Implementations
impl RefUnwindSafe for NodeStatus
impl Send for NodeStatus
impl Sync for NodeStatus
impl Unpin for NodeStatus
impl UnwindSafe for NodeStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V