pub enum EulerianType {
Circuit,
Path,
None,
}
Expand description
Result of Eulerian path/circuit check
Variants§
Circuit
Graph has an Eulerian circuit (closed path visiting every edge exactly once)
Path
Graph has an Eulerian path (open path visiting every edge exactly once)
None
Graph has neither Eulerian circuit nor path
Trait Implementations§
Source§impl Clone for EulerianType
impl Clone for EulerianType
Source§fn clone(&self) -> EulerianType
fn clone(&self) -> EulerianType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EulerianType
impl Debug for EulerianType
Source§impl PartialEq for EulerianType
impl PartialEq for EulerianType
impl StructuralPartialEq for EulerianType
Auto Trait Implementations§
impl Freeze for EulerianType
impl RefUnwindSafe for EulerianType
impl Send for EulerianType
impl Sync for EulerianType
impl Unpin for EulerianType
impl UnwindSafe for EulerianType
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