Enum kailua_syntax::ast::BinOp
[−]
[src]
pub enum BinOp { Add, Sub, Mul, Div, Pow, Mod, Cat, Lt, Le, Gt, Ge, Eq, Ne, And, Or, }
A bunary operator.
Variants
Add
+
.
Sub
-
.
Mul
*
.
Div
/
.
Pow
^
.
Mod
%
.
Cat
..
.
Lt
<
.
Le
<=
.
Gt
>
.
Ge
>=
.
Eq
==
.
Ne
~=
.
And
and
.
Or
or
.
Methods
impl BinOp
[src]
Trait Implementations
impl Copy for BinOp
[src]
impl Clone for BinOp
[src]
fn clone(&self) -> BinOp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for BinOp
[src]
impl PartialEq for BinOp
[src]
fn eq(&self, __arg_0: &BinOp) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.