#[repr(u8)]pub enum VisitOrder {
Topological = 0,
DepthFirst = 1,
BreadthFirst = 2,
PreOrder = 3,
PostOrder = 4,
}
Expand description
used to determine the direction of an edge
Variants§
Topological = 0
used to determine the direction of an edge
DepthFirst = 1
used to determine the direction of an edge
BreadthFirst = 2
used to determine the direction of an edge
PreOrder = 3
used to determine the direction of an edge
PostOrder = 4
used to determine the direction of an edge
Trait Implementations§
Source§impl Clone for VisitOrder
impl Clone for VisitOrder
Source§fn clone(&self) -> VisitOrder
fn clone(&self) -> VisitOrder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VisitOrder
impl Debug for VisitOrder
Source§impl Hash for VisitOrder
impl Hash for VisitOrder
Source§impl Ord for VisitOrder
impl Ord for VisitOrder
Source§fn cmp(&self, other: &VisitOrder) -> Ordering
fn cmp(&self, other: &VisitOrder) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VisitOrder
impl PartialEq for VisitOrder
Source§impl PartialOrd for VisitOrder
impl PartialOrd for VisitOrder
impl Copy for VisitOrder
impl Eq for VisitOrder
impl StructuralPartialEq for VisitOrder
Auto Trait Implementations§
impl Freeze for VisitOrder
impl RefUnwindSafe for VisitOrder
impl Send for VisitOrder
impl Sync for VisitOrder
impl Unpin for VisitOrder
impl UnwindSafe for VisitOrder
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