Enum moore_vhdl::hir::BinaryOp
[−]
[src]
pub enum BinaryOp { Logical(LogicalOp), Rel(RelationalOp), Match(RelationalOp), Shift(ShiftOp), Add, Sub, Concat, Mul, Div, Mod, Rem, Pow, }
A binary operator.
See IEEE 1076-2008 section 9.2.
Variants
Logical(LogicalOp)
A logical operator.
Rel(RelationalOp)
A relational operator.
Match(RelationalOp)
A matching relational operator. These are the relational operators
prefixed with a ?
.
Shift(ShiftOp)
A shift operator.
Add
The +
operator.
Sub
The -
operator.
Concat
The &
operator.
Mul
The *
operator.
Div
The /
operator.
Mod
The mod
operator.
Rem
The rem
operator.
Pow
The **
operator.
Trait Implementations
impl Copy for BinaryOp
[src]
impl Clone for BinaryOp
[src]
fn clone(&self) -> BinaryOp
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for BinaryOp
[src]
fn eq(&self, __arg_0: &BinaryOp) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BinaryOp) -> bool
[src]
This method tests for !=
.