pub enum TraversalDirection {
Outgoing,
Incoming,
Both,
}Expand description
Variants§
Outgoing
Follow outgoing graph projection neighbors.
Incoming
Follow incoming graph projection neighbors.
Both
Follow outgoing neighbors first, then incoming neighbors.
Trait Implementations§
Source§impl Clone for TraversalDirection
impl Clone for TraversalDirection
Source§fn clone(&self) -> TraversalDirection
fn clone(&self) -> TraversalDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TraversalDirection
impl Debug for TraversalDirection
Source§impl Default for TraversalDirection
impl Default for TraversalDirection
Source§fn default() -> TraversalDirection
fn default() -> TraversalDirection
Returns the “default value” for a type. Read more
Source§impl Hash for TraversalDirection
impl Hash for TraversalDirection
Source§impl Ord for TraversalDirection
impl Ord for TraversalDirection
Source§fn cmp(&self, other: &TraversalDirection) -> Ordering
fn cmp(&self, other: &TraversalDirection) -> Ordering
1.21.0 (const: unstable) · 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 TraversalDirection
impl PartialEq for TraversalDirection
Source§fn eq(&self, other: &TraversalDirection) -> bool
fn eq(&self, other: &TraversalDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TraversalDirection
impl PartialOrd for TraversalDirection
impl Copy for TraversalDirection
impl Eq for TraversalDirection
impl StructuralPartialEq for TraversalDirection
Auto Trait Implementations§
impl Freeze for TraversalDirection
impl RefUnwindSafe for TraversalDirection
impl Send for TraversalDirection
impl Sync for TraversalDirection
impl Unpin for TraversalDirection
impl UnsafeUnpin for TraversalDirection
impl UnwindSafe for TraversalDirection
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