[−][src]Enum al::compiler::Instruction
Variants
IConst(f64)
INeg(InstructionI)
INot(InstructionI)
IInv(InstructionI)
IAdd(InstructionI, InstructionI)
IMul(InstructionI, InstructionI)
Fields of IMod
dividend: InstructionI
divisor: InstructionI
Fields of IExp
base: InstructionI
power: InstructionI
ILT(InstructionI, InstructionI)
ILTE(InstructionI, InstructionI)
IEQ(InstructionI, InstructionI)
INE(InstructionI, InstructionI)
IGTE(InstructionI, InstructionI)
IGT(InstructionI, InstructionI)
IOR(InstructionI, InstructionI)
IAND(InstructionI, InstructionI)
IVar(String)
Fields of IFunc
name: String
args: Vec<InstructionI>
IFuncInt(InstructionI)
IFuncCeil(InstructionI)
IFuncFloor(InstructionI)
IFuncAbs(InstructionI)
IFuncSign(InstructionI)
Fields of IFuncLog
base: InstructionI
of: InstructionI
Fields of IFuncRound
modulus: InstructionI
of: InstructionI
IFuncMin(InstructionI, InstructionI)
IFuncMax(InstructionI, 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]
fn _var_names(&self, slab: &Slab, dst: &mut BTreeSet<String>)
[src]
fn eval(&self, slab: &Slab, ns: &mut impl EvalNamespace) -> Result<f64, KErr>
[src]
fn var_names(&self, slab: &Slab) -> BTreeSet<String>
[src]
impl PartialEq<Instruction> for Instruction
[src]
fn eq(&self, other: &Instruction) -> bool
[src]
fn ne(&self, other: &Instruction) -> bool
[src]
impl Debug for Instruction
[src]
impl StructuralPartialEq for Instruction
[src]
Auto Trait Implementations
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
impl RefUnwindSafe for Instruction
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,