pub enum BinaryOperator {
Eq,
Neq,
Gt,
Gte,
Lt,
Lte,
Add,
Sub,
Mul,
Div,
}Expand description
A binary operator
Variants§
Eq
Equality
Neq
Inequality
Gt
Greater than
Gte
Greater than or equal
Lt
Less than
Lte
Less than or equal
Add
Addition
Sub
Subtraction
Mul
Multiplication
Div
Division
Implementations§
Trait Implementations§
Source§impl Clone for BinaryOperator
impl Clone for BinaryOperator
Source§fn clone(&self) -> BinaryOperator
fn clone(&self) -> BinaryOperator
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 BinaryOperator
Source§impl Debug for BinaryOperator
impl Debug for BinaryOperator
Source§impl PartialEq for BinaryOperator
impl PartialEq for BinaryOperator
Source§fn eq(&self, other: &BinaryOperator) -> bool
fn eq(&self, other: &BinaryOperator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
impl Freeze for BinaryOperator
impl RefUnwindSafe for BinaryOperator
impl Send for BinaryOperator
impl Sync for BinaryOperator
impl Unpin for BinaryOperator
impl UnsafeUnpin for BinaryOperator
impl UnwindSafe for BinaryOperator
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