Enum moore_vhdl::op::BinaryOp [−][src]
pub enum BinaryOp {
Logical(LogicalOp),
Rel(RelationalOp),
Match(RelationalOp),
Shift(ShiftOp),
Add,
Sub,
Concat,
Mul,
Div,
Mod,
Rem,
Pow,
}
Expand description
A binary operator.
See IEEE 1076-2008 section 9.2.
Variants
Logical(LogicalOp)
A logical operator.
Tuple Fields of Logical
0: LogicalOp
Rel(RelationalOp)
A relational operator.
Tuple Fields of Rel
0: RelationalOp
Match(RelationalOp)
A matching relational operator. These are the relational operators
prefixed with a ?
.
Tuple Fields of Match
0: RelationalOp
Shift(ShiftOp)
A shift operator.
Tuple Fields of Shift
0: ShiftOp
The +
operator.
The -
operator.
The &
operator.
The *
operator.
The /
operator.
The mod
operator.
The rem
operator.
The **
operator.
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BinaryOp
impl UnwindSafe for BinaryOp
Blanket Implementations
Mutably borrows from an owned value. Read more