Enum gluon_vm::internal::Value [] [src]

pub enum Value {
    Byte(u8),
    Int(VmInt),
    Float(f64),
    String(GcStr),
    Tag(VmTag),
    Data(GcPtr<DataStruct>),
    Array(GcPtr<ValueArray>),
    Function(GcPtr<ExternFunction>),
    Closure(GcPtr<ClosureData>),
    PartialApplication(GcPtr<PartialApplicationData>),
    Userdata(GcPtr<Box<Userdata>>),
    Thread(GcPtr<Thread>),
}

Variants

Methods

impl Value
[src]

Trait Implementations

impl<'vm> Getable<'vm> for Value
[src]

unsafe version of from_value which allows references to the internal of GcPtr's to be extracted if value is rooted Read more

impl Copy for Value
[src]

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Value
[src]

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

This method tests for !=.

impl Traverseable for Value
[src]

impl Debug for Value
[src]

Formats the value using the given formatter.