pub enum BinaryOpKind {
Show 14 variants
Add,
Subtract,
Multiply,
Divide,
Modulo,
Eq,
NotEq,
Lt,
Gt,
LtEq,
GtEq,
And,
Or,
Concat,
}Expand description
Binary operation kinds for imperative expressions.
Variants§
Add
Subtract
Multiply
Divide
Modulo
Eq
NotEq
Lt
Gt
LtEq
GtEq
And
Or
Concat
String concatenation (“X combined with Y”)
Trait Implementations§
Source§impl Clone for BinaryOpKind
impl Clone for BinaryOpKind
Source§fn clone(&self) -> BinaryOpKind
fn clone(&self) -> BinaryOpKind
Returns a duplicate 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 BinaryOpKind
impl Debug for BinaryOpKind
Source§impl PartialEq for BinaryOpKind
impl PartialEq for BinaryOpKind
impl Copy for BinaryOpKind
impl Eq for BinaryOpKind
impl StructuralPartialEq for BinaryOpKind
Auto Trait Implementations§
impl Freeze for BinaryOpKind
impl RefUnwindSafe for BinaryOpKind
impl Send for BinaryOpKind
impl Sync for BinaryOpKind
impl Unpin for BinaryOpKind
impl UnwindSafe for BinaryOpKind
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