[][src]Enum runestick::InstAssignOp

pub enum InstAssignOp {
    Add,
    Sub,
    Mul,
    Div,
    Rem,
    BitAnd,
    BitXor,
    BitOr,
    Shl,
    Shr,
}

An operation between two values on the machine.

Variants

Add

The add operation. a + b.

Sub

The sub operation. a - b.

Mul

The multiply operation. a * b.

Div

The division operation. a / b.

Rem

The remainder operation. a % b.

BitAnd

The bitwise and operation. a & b.

BitXor

The bitwise xor operation. a ^ b.

BitOr

The bitwise or operation. a | b.

Shl

The shift left operation. a << b.

Shr

The shift right operation. a << b.

Trait Implementations

impl Clone for InstAssignOp[src]

impl Copy for InstAssignOp[src]

impl Debug for InstAssignOp[src]

impl<'de> Deserialize<'de> for InstAssignOp[src]

impl Display for InstAssignOp[src]

impl Serialize for InstAssignOp[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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.