pub enum ArithBinaryOp {
Show 13 variants
Add,
Subtract,
Multiply,
Divide,
Remainder,
Less,
LessOrEqual,
Greater,
GreaterOrEqual,
Equal,
NotEqual,
And,
Or,
}Expand description
Infix arithmetic operator.
Variants§
Add
+.
Subtract
-.
Multiply
*.
Divide
/.
Remainder
%.
Less
<.
LessOrEqual
<=.
Greater
>.
GreaterOrEqual
>=.
Equal
==.
NotEqual
!=.
And
&&.
Or
||.
Trait Implementations§
Source§impl Clone for ArithBinaryOp
impl Clone for ArithBinaryOp
Source§fn clone(&self) -> ArithBinaryOp
fn clone(&self) -> ArithBinaryOp
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 ArithBinaryOp
Source§impl Debug for ArithBinaryOp
impl Debug for ArithBinaryOp
impl Eq for ArithBinaryOp
Source§impl PartialEq for ArithBinaryOp
impl PartialEq for ArithBinaryOp
impl StructuralPartialEq for ArithBinaryOp
Auto Trait Implementations§
impl Freeze for ArithBinaryOp
impl RefUnwindSafe for ArithBinaryOp
impl Send for ArithBinaryOp
impl Sync for ArithBinaryOp
impl Unpin for ArithBinaryOp
impl UnsafeUnpin for ArithBinaryOp
impl UnwindSafe for ArithBinaryOp
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.