pub enum CompareDirection {
DirEq,
DirLeq,
DirGeq,
}Expand description
An extension of Comparison to >=.
Variants§
Trait Implementations§
Source§impl Clone for CompareDirection
impl Clone for CompareDirection
Source§fn clone(&self) -> CompareDirection
fn clone(&self) -> CompareDirection
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 CompareDirection
impl Debug for CompareDirection
Source§impl<'de> Deserialize<'de> for CompareDirection
impl<'de> Deserialize<'de> for CompareDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Comparison> for CompareDirection
impl From<Comparison> for CompareDirection
Source§fn from(from: Comparison) -> Self
fn from(from: Comparison) -> Self
Converts to this type from the input type.
Source§impl Hash for CompareDirection
impl Hash for CompareDirection
Source§impl Ord for CompareDirection
impl Ord for CompareDirection
Source§fn cmp(&self, other: &CompareDirection) -> Ordering
fn cmp(&self, other: &CompareDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CompareDirection
impl PartialEq for CompareDirection
Source§impl PartialOrd for CompareDirection
impl PartialOrd for CompareDirection
impl Copy for CompareDirection
impl Eq for CompareDirection
impl StructuralPartialEq for CompareDirection
Auto Trait Implementations§
impl Freeze for CompareDirection
impl RefUnwindSafe for CompareDirection
impl Send for CompareDirection
impl Sync for CompareDirection
impl Unpin for CompareDirection
impl UnwindSafe for CompareDirection
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