pub enum Color {
White,
Gray,
Black,
}Expand description
Indicates the status of an item in a traverse algorithm.
Variants§
White
Generally indicates that an item was not discovered in the search.
Gray
Generally indicates that an item was discovered in the search but there is some pending work to be done with the item.
Black
Generally indicates that the item was discovered and all the work related with the item is finished.
Trait Implementations§
impl Copy for Color
impl Eq for Color
impl StructuralPartialEq for Color
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more