pub enum TraversalDirection {
Forward,
Backward,
Either,
}Expand description
Direction used when traversing a directed semantic relationship.
Variants§
Forward
Follow edges from source to target.
Backward
Follow edges from target to source.
Either
Follow edges in either direction.
Trait Implementations§
Source§impl Clone for TraversalDirection
impl Clone for TraversalDirection
Source§fn clone(&self) -> TraversalDirection
fn clone(&self) -> TraversalDirection
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 TraversalDirection
impl Debug for TraversalDirection
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 · 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§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 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