[][src]Enum al::compiler::Instruction

pub enum Instruction {
    IConst(f64),
    INeg(InstructionI),
    INot(InstructionI),
    IInv(InstructionI),
    IAdd(InstructionIInstructionI),
    IMul(InstructionIInstructionI),
    IMod {
        dividend: InstructionI,
        divisor: InstructionI,
    },
    IExp {
        base: InstructionI,
        power: InstructionI,
    },
    ILT(InstructionIInstructionI),
    ILTE(InstructionIInstructionI),
    IEQ(InstructionIInstructionI),
    INE(InstructionIInstructionI),
    IGTE(InstructionIInstructionI),
    IGT(InstructionIInstructionI),
    IOR(InstructionIInstructionI),
    IAND(InstructionIInstructionI),
    IVar(String),
    IFunc {
        name: String,
        args: Vec<InstructionI>,
    },
    IFuncInt(InstructionI),
    IFuncCeil(InstructionI),
    IFuncFloor(InstructionI),
    IFuncAbs(InstructionI),
    IFuncSign(InstructionI),
    IFuncLog {
        base: InstructionI,
        of: InstructionI,
    },
    IFuncRound {
        modulus: InstructionI,
        of: InstructionI,
    },
    IFuncMin(InstructionIInstructionI),
    IFuncMax(InstructionIInstructionI),
    IFuncSin(InstructionI),
    IFuncCos(InstructionI),
    IFuncTan(InstructionI),
    IFuncASin(InstructionI),
    IFuncACos(InstructionI),
    IFuncATan(InstructionI),
    IFuncSinH(InstructionI),
    IFuncCosH(InstructionI),
    IFuncTanH(InstructionI),
    IFuncASinH(InstructionI),
    IFuncACosH(InstructionI),
    IFuncATanH(InstructionI),
    IPrintFunc(PrintFunc),
}

Variants

IConst(f64)
IMod

Fields of IMod

dividend: InstructionIdivisor: InstructionI
IExp

Fields of IExp

base: InstructionIpower: InstructionI
IVar(String)
IFunc

Fields of IFunc

name: Stringargs: Vec<InstructionI>
IFuncInt(InstructionI)
IFuncCeil(InstructionI)
IFuncFloor(InstructionI)
IFuncAbs(InstructionI)
IFuncSign(InstructionI)
IFuncLog

Fields of IFuncLog

base: InstructionIof: InstructionI
IFuncRound

Fields of IFuncRound

modulus: InstructionIof: InstructionI
IFuncSin(InstructionI)
IFuncCos(InstructionI)
IFuncTan(InstructionI)
IFuncASin(InstructionI)
IFuncACos(InstructionI)
IFuncATan(InstructionI)
IFuncSinH(InstructionI)
IFuncCosH(InstructionI)
IFuncTanH(InstructionI)
IFuncASinH(InstructionI)
IFuncACosH(InstructionI)
IFuncATanH(InstructionI)
IPrintFunc(PrintFunc)

Trait Implementations

impl Evaler for Instruction[src]

impl PartialEq<Instruction> for Instruction[src]

impl Debug for Instruction[src]

impl StructuralPartialEq for Instruction[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Error = !

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.

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

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

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