[−][src]Enum fasteval::parser::Value
A Value can be a Constant, a UnaryOp, a StdFunc, or a PrintFunc.
Variants
EConstant(f64)EUnaryOp(UnaryOp)EStdFunc(StdFunc)EPrintFunc(PrintFunc)Trait Implementations
impl Compiler for Value[src]
fn compile(&self, pslab: &ParseSlab, cslab: &mut CompileSlab) -> Instruction[src]
impl Debug for Value[src]
impl Default for Value[src]
impl Evaler for Value[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<Value> for Value[src]
impl StructuralPartialEq for Value[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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>,