Enum liva_parser::tokens::Operator [−][src]
pub enum Operator {
Show 14 variants
Add,
Sub,
Div,
Mul,
Pow,
Mod,
EQ,
And,
Lt,
Gt,
Or,
Leq,
Geq,
Neq,
}
Expand description
All Operators which are used in the language for binary expressions
Variants
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Operator
impl UnwindSafe for Operator
Blanket Implementations
Mutably borrows from an owned value. Read more