Enum meval::shunting_yard::RPNError
[−]
[src]
pub enum RPNError { MismatchedLParen(usize), MismatchedRParen(usize), UnexpectedComma(usize), NotEnoughOperands(usize), TooManyOperands, }
An error produced by the shunting-yard algorightm.
Variants
MismatchedLParen(usize)
An extra left parenthesis was found.
MismatchedRParen(usize)
An extra right parenthesis was found.
UnexpectedComma(usize)
Comma that is not separating function arguments.
NotEnoughOperands(usize)
Too few operands for some operator.
TooManyOperands
Too many operands reported.
Trait Implementations
impl Eq for RPNError
[src]
impl PartialEq for RPNError
[src]
fn eq(&self, __arg_0: &RPNError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RPNError) -> bool
This method tests for !=
.
impl Copy for RPNError
[src]
impl Clone for RPNError
[src]
fn clone(&self) -> RPNError
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