Enum libchao::Expr[][src]

pub enum Expr {
    Nil,
    Bool(bool),
    Int(i64),
    Float(f64),
    Str(String),
    Symbol(String),
    Quote(Box<Expr>),
    Fun(Function, Arguments),
    Special(Function, Arguments),
    List(Vec<Expr>),
}

Variants

Trait Implementations

impl Clone for Expr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Expr
[src]

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

This method tests for !=.

impl Debug for Expr
[src]

Formats the value using the given formatter. Read more

impl Display for Expr
[src]

Formats the value using the given formatter. Read more

impl Add for Expr
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for Expr
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Mul for Expr
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div for Expr
[src]

The resulting type after applying the / operator.

Performs the / operation.

Auto Trait Implementations

impl Send for Expr

impl Sync for Expr