pub enum DfsMode {
Out,
In,
All,
}Expand description
Direction mode for dfs_simple.
Variants§
Out
Follow outgoing edges (default for directed graphs).
In
Follow incoming edges.
All
Ignore edge direction (always used for undirected graphs).
Trait Implementations§
impl Copy for DfsMode
impl Eq for DfsMode
impl StructuralPartialEq for DfsMode
Auto Trait Implementations§
impl Freeze for DfsMode
impl RefUnwindSafe for DfsMode
impl Send for DfsMode
impl Sync for DfsMode
impl Unpin for DfsMode
impl UnsafeUnpin for DfsMode
impl UnwindSafe for DfsMode
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