Enum selfish::Type [] [src]

pub enum Type {
    Atom(RefCell<Value>),
    Int(isize),
    Symbol(String),
    Str(String),
    Keyword(String),
    Boolean(bool),
    Float(f64),
    List(List),
    Vector(List),
    Map(HashMap<String, Value>),
    Func(fn(_: List) -> LispResult),
    Closure(Closure),
    Nothing,
}

Variants

Trait Implementations

impl Debug for Type
[src]

Formats the value using the given formatter.

impl PartialEq for Type
[src]

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

This method tests for !=.

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more