pub enum ReachabilityMode {
Out,
In,
All,
}Expand description
Direction mode for reachability in directed graphs.
Variants§
Out
Follow edges forward (out-neighbours).
In
Follow edges backward (in-neighbours).
All
Ignore direction (treat as undirected).
Trait Implementations§
Source§impl Clone for ReachabilityMode
impl Clone for ReachabilityMode
Source§fn clone(&self) -> ReachabilityMode
fn clone(&self) -> ReachabilityMode
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 ReachabilityMode
impl Debug for ReachabilityMode
Source§impl PartialEq for ReachabilityMode
impl PartialEq for ReachabilityMode
impl Copy for ReachabilityMode
impl Eq for ReachabilityMode
impl StructuralPartialEq for ReachabilityMode
Auto Trait Implementations§
impl Freeze for ReachabilityMode
impl RefUnwindSafe for ReachabilityMode
impl Send for ReachabilityMode
impl Sync for ReachabilityMode
impl Unpin for ReachabilityMode
impl UnsafeUnpin for ReachabilityMode
impl UnwindSafe for ReachabilityMode
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