Enum meval::FuncEvalError [] [src]

pub enum FuncEvalError {
    TooFewArguments,
    TooManyArguments,
    NumberArgs(usize),
    UnknownFunction,
}

Function evaluation error.

Variants

TooFewArgumentsTooManyArgumentsNumberArgs(usize)UnknownFunction

Trait Implementations

impl PartialEq for FuncEvalError
[src]

fn eq(&self, __arg_0: &FuncEvalError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &FuncEvalError) -> bool

This method tests for !=.

impl Clone for FuncEvalError
[src]

fn clone(&self) -> FuncEvalError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for FuncEvalError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for FuncEvalError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for FuncEvalError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more