pub enum ShortestPathMode {
Out,
In,
All,
}Expand description
Direction mode for get_shortest_paths_with_mode.
Variants§
Out
Follow outgoing edges (directed graphs).
In
Follow incoming edges (directed graphs).
All
Ignore edge direction.
Trait Implementations§
Source§impl Clone for ShortestPathMode
impl Clone for ShortestPathMode
Source§fn clone(&self) -> ShortestPathMode
fn clone(&self) -> ShortestPathMode
Returns a duplicate 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 ShortestPathMode
impl Debug for ShortestPathMode
Source§impl PartialEq for ShortestPathMode
impl PartialEq for ShortestPathMode
impl Copy for ShortestPathMode
impl Eq for ShortestPathMode
impl StructuralPartialEq for ShortestPathMode
Auto Trait Implementations§
impl Freeze for ShortestPathMode
impl RefUnwindSafe for ShortestPathMode
impl Send for ShortestPathMode
impl Sync for ShortestPathMode
impl Unpin for ShortestPathMode
impl UnsafeUnpin for ShortestPathMode
impl UnwindSafe for ShortestPathMode
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