Enum dyon::Variable [] [src]

pub enum Variable {
    Ref(usize),
    Return,
    Bool(bool),
    F64(f64),
    Vec4([f32; 4]),
    Text(Arc<String>),
    Array(Array),
    Object(Object),
    UnsafeRef(*mut Variable),
    RustObject(RustObject),
    Option(Option<Box<Variable>>),
    Result(Result<Box<Variable>, Box<Error>>),
    Thread(Thread),
}

Variants

Ref(usize)ReturnBool(bool)F64(f64)Vec4([f32; 4])Text(Arc<String>)Array(Array)Object(Object)UnsafeRef(*mut Variable)RustObject(RustObject)Option(Option<Box<Variable>>)Result(Result<Box<Variable>, Box<Error>>)Thread(Thread)

Trait Implementations

impl Clone for Variable
[src]

fn clone(&self) -> Variable

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Variable
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Send for Variable
[src]

impl PartialEq for Variable
[src]

fn eq(&self, other: &Variable) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.