pub enum PremiseOperator {
Eq,
Neq,
Lt,
Gt,
Le,
Ge,
}Expand description
Relational operator in a rule premise (§2.8.2).
Variants§
Eq
Equal.
Neq
Not equal.
Lt
Less than.
Gt
Greater than.
Le
Less than or equal.
Ge
Greater than or equal.
Trait Implementations§
Source§impl Clone for PremiseOperator
impl Clone for PremiseOperator
Source§fn clone(&self) -> PremiseOperator
fn clone(&self) -> PremiseOperator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PremiseOperator
Source§impl Debug for PremiseOperator
impl Debug for PremiseOperator
impl Eq for PremiseOperator
Source§impl PartialEq for PremiseOperator
impl PartialEq for PremiseOperator
Source§fn eq(&self, other: &PremiseOperator) -> bool
fn eq(&self, other: &PremiseOperator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PremiseOperator
Auto Trait Implementations§
impl Freeze for PremiseOperator
impl RefUnwindSafe for PremiseOperator
impl Send for PremiseOperator
impl Sync for PremiseOperator
impl Unpin for PremiseOperator
impl UnsafeUnpin for PremiseOperator
impl UnwindSafe for PremiseOperator
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