Enum risp::types::RispType [] [src]

pub enum RispType {
    Nil,
    Bool(bool),
    Int(i64),
    Str(String),
    List(Vec<RispType>),
    Vector(Vec<RispType>),
    Map(HashMap<String, RispType>),
    Keyword(String),
    Symbol(String),
    Function(fn(_: Vec<RispType>) -> RispResult),
    RispFunction(RispFunc),
}

Variants

Methods

impl RispType
[src]

Trait Implementations

impl Into<Result<RispType, RispError>> for RispType
[src]

Performs the conversion.

impl Into<Result<bool, RispError>> for RispType
[src]

Performs the conversion.

impl Into<Result<i64, RispError>> for RispType
[src]

Performs the conversion.

impl Into<Result<String, RispError>> for RispType
[src]

Performs the conversion.

impl Into<Result<HashMap<String, RispType>, RispError>> for RispType
[src]

Performs the conversion.

impl Into<Result<Vec<RispType>, RispError>> for RispType
[src]

Performs the conversion.

impl Into<Result<Vec<i64>, RispError>> for RispType
[src]

Performs the conversion.

impl Debug for RispType
[src]

Formats the value using the given formatter.

impl PartialEq for RispType
[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 RispType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more