[][src]Enum ni::common::Op

pub enum Op {
    Nop,
    End(Operand),
    Slp(Operand),
    Set(BinOpOpType),
    Cnv(OperandOperandOpTypeOpType),
    Add(BinOpOpTypeArithmeticMode),
    Sub(BinOpOpTypeArithmeticMode),
    Mul(BinOpOpTypeArithmeticMode),
    Div(BinOpOpType),
    Mod(BinOpOpType),
    Shl(OperandOperandOpType),
    Shr(OperandOperandOpType),
    And(BinOpOpType),
    Or(BinOpOpType),
    Xor(BinOpOpType),
    Not(UnOpOpType),
    Neg(UnOpOpTypeArithmeticMode),
    Inc(UnOpOpTypeArithmeticMode),
    Dec(UnOpOpTypeArithmeticMode),
    Go(Operand),
    Ift(UnOpOpType),
    Iff(UnOpOpType),
    Ife(BinOpOpType),
    Ifl(BinOpOpType),
    Ifg(BinOpOpType),
    Ine(BinOpOpType),
    Inl(BinOpOpType),
    Ing(BinOpOpType),
    Ifa(BinOpOpType),
    Ifo(BinOpOpType),
    Ifx(BinOpOpType),
    Ina(BinOpOpType),
    Ino(BinOpOpType),
    Inx(BinOpOpType),
    App(Operand),
    Par(UnOpOpTypeParameterMode),
    Clf(Operand),
    Ret(UnOpOpType),
    In(BinOp),
    Out(UnOp),
    Fls,
    Sfd(Operand),
    Gfd(Operand),
    Zer(OperandOperand),
    Cmp(OperandOperandOperand),
    Cpy(OperandOperandOperand),
}

Variants

Nop
End(Operand)
Slp(Operand)
Set(BinOpOpType)
Div(BinOpOpType)
Mod(BinOpOpType)
And(BinOpOpType)
Xor(BinOpOpType)
Not(UnOpOpType)
Ift(UnOpOpType)
Iff(UnOpOpType)
Ife(BinOpOpType)
Ifl(BinOpOpType)
Ifg(BinOpOpType)
Ine(BinOpOpType)
Inl(BinOpOpType)
Ing(BinOpOpType)
Ifa(BinOpOpType)
Ifo(BinOpOpType)
Ifx(BinOpOpType)
Ina(BinOpOpType)
Ino(BinOpOpType)
Inx(BinOpOpType)
App(Operand)
Clf(Operand)
Ret(UnOpOpType)
In(BinOp)
Out(UnOp)
Fls
Sfd(Operand)
Gfd(Operand)

Implementations

impl Op[src]

pub fn is_conditional(&self) -> bool[src]

pub fn op_code(&self) -> u8[src]

Trait Implementations

impl Clone for Op[src]

impl Copy for Op[src]

impl Debug for Op[src]

impl Decode<()> for Op[src]

type Err = DecodeError

impl Encode for Op[src]

type Err = EncodeError

impl Eq for Op[src]

impl PartialEq<Op> for Op[src]

impl StructuralEq for Op[src]

impl StructuralPartialEq for Op[src]

Auto Trait Implementations

impl RefUnwindSafe for Op

impl Send for Op

impl Sync for Op

impl Unpin for Op

impl UnwindSafe for Op

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> 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, 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.