Enum moss::object::Object [] [src]

pub enum Object {
    Null,
    Bool(bool),
    Int(i32),
    Float(f64),
    Complex(Complex64),
    List(Rc<RefCell<List>>),
    String(Rc<U32String>),
    Map(Rc<RefCell<Map>>),
    Function(Rc<Function>),
    Range(Rc<Range>),
    Table(Rc<Table>),
    Tuple(Rc<Vec<Object>>),
    Empty,
    Interface(Rc<Interface>),
}

Variants

Methods

impl Object
[src]

[src]

[src]

[src]

Trait Implementations

impl ToString for Object
[src]

[src]

Converts the given value to a String. Read more

impl Clone for Object
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Object
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Object
[src]

impl Hash for Object
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for Object

impl !Sync for Object