pub enum Pathways {
Deterministic,
Weighted,
}Expand description
Whether every walk through a network takes the same way.
Variants§
Deterministic
No node has two ways on in one direction.
Weighted
Some node has, and its weights choose.
Trait Implementations§
impl Copy for Pathways
impl Eq for Pathways
impl StructuralPartialEq for Pathways
Auto Trait Implementations§
impl Forget for Pathways
impl Freeze for Pathways
impl Move for Pathways
impl RefUnwindSafe for Pathways
impl Send for Pathways
impl Sync for Pathways
impl Unpin for Pathways
impl UnsafeUnpin for Pathways
impl UnwindSafe for Pathways
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more