[−][src]Enum fasteval::compiler::Instruction
An Instruction
is an optimized AST node resulting from compilation.
Variants
IConst(f64)
INeg(InstructionI)
INot(InstructionI)
IInv(InstructionI)
IAdd(InstructionI, IC)
IMul(InstructionI, IC)
IOR(InstructionI, IC)
IAND(InstructionI, IC)
IVar(String)
IFuncInt(InstructionI)
IFuncCeil(InstructionI)
IFuncFloor(InstructionI)
IFuncAbs(InstructionI)
IFuncSign(InstructionI)
IFuncMin(InstructionI, IC)
IFuncMax(InstructionI, IC)
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 Debug for Instruction
[src]
impl Default for Instruction
[src]
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, Error>
[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 StructuralPartialEq for Instruction
[src]
Auto Trait Implementations
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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 = Infallible
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>,