Enum rtlola_frontend::mir::ArithLogOp[][src]

pub enum ArithLogOp {
    Not,
    Neg,
    Add,
    Sub,
    Mul,
    Div,
    Rem,
    Pow,
    And,
    Or,
    BitXor,
    BitAnd,
    BitOr,
    BitNot,
    Shl,
    Shr,
    Eq,
    Lt,
    Le,
    Ne,
    Ge,
    Gt,
}

Arithmetical and logical operations

Variants

Not

Logic negation (!)

Neg

Arithmetic negation (-)

Add

Arithmetic addition (+)

Sub

Arithmetic subtraction (-)

Mul

Arithmetic multiplication (*)

Div

Arithmetic division (/)

Rem

Arithmetic modulation (%)

Pow

Arithmetic exponentiation (**)

And

Logic conjunction/multiplication (&&)

Or

Logic disjunction/addition (||)

BitXor

Bit-wise xor (^)

BitAnd

Bit-wise conjunction/multiplication (&)

BitOr

Bit-wise disjunction/addition (|)

BitNot

Bit-wise negation / One’s complement (~)

Shl

Bit-wise left-shift (<<)

Shr

Bit-wise right-shift (>>)

Eq

Semantic Equality (==)

Lt

Less-than comparison (<)

Le

Less-than-or-equal comparison (<=)

Ne

Semantic Inequality (!=)

Ge

Greater-than-or-equal comparison (>=)

Gt

Greater-than comparison (>)

Trait Implementations

impl Clone for ArithLogOp[src]

impl Copy for ArithLogOp[src]

impl Debug for ArithLogOp[src]

impl Display for ArithLogOp[src]

impl Eq for ArithLogOp[src]

impl PartialEq<ArithLogOp> for ArithLogOp[src]

impl StructuralEq for ArithLogOp[src]

impl StructuralPartialEq for ArithLogOp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.