Enum rtlola_parser::ast::BinOp [−][src]
pub enum BinOp {
Show 19 variants
Add,
Sub,
Mul,
Div,
Rem,
Pow,
And,
Or,
BitXor,
BitAnd,
BitOr,
Shl,
Shr,
Eq,
Lt,
Le,
Ne,
Ge,
Gt,
}
Expand description
An Ast node representing a binary operator.
Variants
The +
operator (addition)
The -
operator (subtraction)
The *
operator (multiplication)
The /
operator (division)
The %
operator (modulus)
The **
operator (power)
The &&
operator (logical and)
The ||
operator (logical or)
The ^
operator (bitwise xor)
The &
operator (bitwise and)
The |
operator (bitwise or)
The <<
operator (shift left)
The >>
operator (shift right)
The ==
operator (equality)
The <
operator (less than)
The <=
operator (less than or equal to)
The !=
operator (not equal to)
The >=
operator (greater than or equal to)
The >
operator (greater than)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BinOp
impl UnwindSafe for BinOp
Blanket Implementations
Mutably borrows from an owned value. Read more