Enum preserves_path::schemas::path::Comparison
source · pub enum Comparison {
Eq,
Ne,
Lt,
Ge,
Gt,
Le,
}Variants§
Trait Implementations§
source§impl Clone for Comparison
impl Clone for Comparison
source§fn clone(&self) -> Comparison
fn clone(&self) -> Comparison
Returns a copy 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 Comparison
impl Debug for Comparison
source§impl<_Value: NestedValue> Deserialize<_Value> for Comparison
impl<_Value: NestedValue> Deserialize<_Value> for Comparison
fn deserialize<'de, R: Reader<'de, _Value>>( r: &mut R ) -> Result<Self, ParseError>
source§impl Domain for Comparison
impl Domain for Comparison
source§impl Hash for Comparison
impl Hash for Comparison
source§impl Ord for Comparison
impl Ord for Comparison
source§fn cmp(&self, other: &Comparison) -> Ordering
fn cmp(&self, other: &Comparison) -> 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<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Parse<_L, _Value> for Comparison
impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Parse<_L, _Value> for Comparison
source§impl PartialEq for Comparison
impl PartialEq for Comparison
source§fn eq(&self, other: &Comparison) -> bool
fn eq(&self, other: &Comparison) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for Comparison
impl PartialOrd for Comparison
source§fn partial_cmp(&self, other: &Comparison) -> Option<Ordering>
fn partial_cmp(&self, other: &Comparison) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Unparse<_L, _Value> for Comparison
impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Unparse<_L, _Value> for Comparison
impl Eq for Comparison
impl StructuralPartialEq for Comparison
Auto Trait Implementations§
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnwindSafe for Comparison
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