Enum gluon_vm::api::ValueRef [] [src]

pub enum ValueRef<'a> {
    Byte(u8),
    Int(VmInt),
    Float(f64),
    String(&'a str),
    Data(Data<'a>),
    Tag(VmTag),
    Userdata(&'a Userdata),
    Internal,
}

Variants

Methods

impl<'a> ValueRef<'a>
[src]

Trait Implementations

impl<'a> Copy for ValueRef<'a>
[src]

impl<'a> Clone for ValueRef<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for ValueRef<'a>
[src]

Formats the value using the given formatter.

impl<'a, 'b> PartialEq<ValueRef<'b>> for ValueRef<'a>
[src]

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

This method tests for !=.

impl<'a> PartialEq<Value> for ValueRef<'a>
[src]

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

This method tests for !=.