pub enum BfsMode {
Out,
In,
All,
}Expand description
Direction mode for bfs_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 BfsMode
impl Eq for BfsMode
impl StructuralPartialEq for BfsMode
Auto Trait Implementations§
impl Freeze for BfsMode
impl RefUnwindSafe for BfsMode
impl Send for BfsMode
impl Sync for BfsMode
impl Unpin for BfsMode
impl UnsafeUnpin for BfsMode
impl UnwindSafe for BfsMode
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