pub enum ComparisonOp {
Eq,
Le,
Ge,
}
Expand description
An operator specifying the relation between left-hand and right-hand sides of the constraint.
Variants§
Eq
The == operator (equal to)
Le
The <= operator (less than or equal to)
Ge
The >= operator (greater than or equal to)
Trait Implementations§
Source§impl Clone for ComparisonOp
impl Clone for ComparisonOp
Source§fn clone(&self) -> ComparisonOp
fn clone(&self) -> ComparisonOp
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 ComparisonOp
impl Debug for ComparisonOp
impl Copy for ComparisonOp
Auto Trait Implementations§
impl Freeze for ComparisonOp
impl RefUnwindSafe for ComparisonOp
impl Send for ComparisonOp
impl Sync for ComparisonOp
impl Unpin for ComparisonOp
impl UnwindSafe for ComparisonOp
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