Enum moore_svlog::hir::UnaryOp [−][src]
pub enum UnaryOp {
Show 14 variants
Pos,
Neg,
BitNot,
LogicNot,
PreInc,
PreDec,
PostInc,
PostDec,
RedAnd,
RedNand,
RedOr,
RedNor,
RedXor,
RedXnor,
}
Expand description
The different unary operators.
Variants
The plus operator +x
.
The minus operator -x
.
The bitwise not operator ~x
.
The not operator !x
.
The prefix increment operator ++x
.
The prefix decrement operator --x
.
The postfix increment operator x++
.
The postfix decrement operator x--
.
The reduction and operator &x
.
The reduction not-and operator ~&x
.
The reduction or operator |x
.
The reduction not-or operator ~|x
.
The reduction exclusive-or operator ^x
.
The reduction exclusive-not-or operator ^~x
or ~^x
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnaryOp
impl UnwindSafe for UnaryOp
Blanket Implementations
Mutably borrows from an owned value. Read more