Enum evaltrees::ast::Op [−][src]
pub enum Op { Add, App, Cons, Div, Mod, Mul, Sub, }
A binary operator.
Variants
Add
Addition.
App
Function application.
Cons
List construction.
Div
Division.
Mod
Modulus.
Mul
Multiplication.
Sub
Subtraction.
Trait Implementations
impl Clone for Op
[src]
impl Clone for Op
fn clone(&self) -> Op
[src]
fn clone(&self) -> Op
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 Op
[src]
impl Copy for Op
impl Debug for Op
[src]
impl Debug for Op
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 Display for Op
[src]
impl Display for Op
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Op
[src]
impl PartialEq for Op