Enum meval::tokenizer::Operation [−][src]
pub enum Operation { Plus, Minus, Times, Div, Rem, Pow, }
Mathematical operations.
Variants
Plus
Minus
Times
Div
Rem
Pow
Trait Implementations
impl Debug for Operation
[src]
impl Debug for Operation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Operation
[src]
impl PartialEq for Operation
fn eq(&self, other: &Operation) -> bool
[src]
fn eq(&self, other: &Operation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for Operation
[src]
impl Clone for Operation
fn clone(&self) -> Operation
[src]
fn clone(&self) -> Operation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Operation
[src]
impl Copy for Operation