[][src]Enum fasteval::parser::StdFunc

pub enum StdFunc {
    EVar(String),
    EFunc {
        name: String,
        args: Vec<ExpressionI>,
    },
    EFuncInt(ExpressionI),
    EFuncCeil(ExpressionI),
    EFuncFloor(ExpressionI),
    EFuncAbs(ExpressionI),
    EFuncSign(ExpressionI),
    EFuncLog {
        base: Option<ExpressionI>,
        expr: ExpressionI,
    },
    EFuncRound {
        modulus: Option<ExpressionI>,
        expr: ExpressionI,
    },
    EFuncMin {
        first: ExpressionI,
        rest: Vec<ExpressionI>,
    },
    EFuncMax {
        first: ExpressionI,
        rest: Vec<ExpressionI>,
    },
    EFuncE,
    EFuncPi,
    EFuncSin(ExpressionI),
    EFuncCos(ExpressionI),
    EFuncTan(ExpressionI),
    EFuncASin(ExpressionI),
    EFuncACos(ExpressionI),
    EFuncATan(ExpressionI),
    EFuncSinH(ExpressionI),
    EFuncCosH(ExpressionI),
    EFuncTanH(ExpressionI),
    EFuncASinH(ExpressionI),
    EFuncACosH(ExpressionI),
    EFuncATanH(ExpressionI),
}

A Function Call with Standard Syntax.

Variants

EVar(String)
EFunc

Fields of EFunc

name: Stringargs: Vec<ExpressionI>
EFuncInt(ExpressionI)
EFuncCeil(ExpressionI)
EFuncFloor(ExpressionI)
EFuncAbs(ExpressionI)
EFuncSign(ExpressionI)
EFuncLog

Fields of EFuncLog

base: Option<ExpressionI>expr: ExpressionI
EFuncRound

Fields of EFuncRound

modulus: Option<ExpressionI>expr: ExpressionI
EFuncMin

Fields of EFuncMin

first: ExpressionIrest: Vec<ExpressionI>
EFuncMax

Fields of EFuncMax

first: ExpressionIrest: Vec<ExpressionI>
EFuncE
EFuncPi
EFuncSin(ExpressionI)
EFuncCos(ExpressionI)
EFuncTan(ExpressionI)
EFuncASin(ExpressionI)
EFuncACos(ExpressionI)
EFuncATan(ExpressionI)
EFuncSinH(ExpressionI)
EFuncCosH(ExpressionI)
EFuncTanH(ExpressionI)
EFuncASinH(ExpressionI)
EFuncACosH(ExpressionI)
EFuncATanH(ExpressionI)

Trait Implementations

impl Compiler for StdFunc[src]

impl Debug for StdFunc[src]

impl Evaler for StdFunc[src]

impl PartialEq<StdFunc> for StdFunc[src]

impl StructuralPartialEq for StdFunc[src]

Auto Trait Implementations

impl RefUnwindSafe for StdFunc

impl Send for StdFunc

impl Sync for StdFunc

impl Unpin for StdFunc

impl UnwindSafe for StdFunc

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