pub enum SimplePathMode {
Out,
In,
All,
}Expand description
Mode for traversing neighbors in directed graphs.
Variants§
Out
Follow outgoing edges only.
In
Follow incoming edges only.
All
Treat directed edges as undirected.
Trait Implementations§
Source§impl Clone for SimplePathMode
impl Clone for SimplePathMode
Source§fn clone(&self) -> SimplePathMode
fn clone(&self) -> SimplePathMode
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 moreimpl Copy for SimplePathMode
Source§impl Debug for SimplePathMode
impl Debug for SimplePathMode
impl Eq for SimplePathMode
Source§impl PartialEq for SimplePathMode
impl PartialEq for SimplePathMode
Source§fn eq(&self, other: &SimplePathMode) -> bool
fn eq(&self, other: &SimplePathMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SimplePathMode
Auto Trait Implementations§
impl Freeze for SimplePathMode
impl RefUnwindSafe for SimplePathMode
impl Send for SimplePathMode
impl Sync for SimplePathMode
impl Unpin for SimplePathMode
impl UnsafeUnpin for SimplePathMode
impl UnwindSafe for SimplePathMode
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