Enum dyon::Variable [] [src]

pub enum Variable {
    Return,
    Bool(bool),
    F64(f64),
    Text(Arc<String>),
    Object(Object),
    Array(Vec<Variable>),
    Ref(usize),
    UnsafeRef(*mut Variable),
    RustObject(Arc<Mutex<Any>>),
    Option(Option<Box<Variable>>),
    Result(Result<Box<Variable>, Box<Error>>),
}

Variants

ReturnBool(bool)F64(f64)Text(Arc<String>)Object(Object)Array(Vec<Variable>)Ref(usize)UnsafeRef(*mut Variable)RustObject(Arc<Mutex<Any>>)Option(Option<Box<Variable>>)Result(Result<Box<Variable>, Box<Error>>)

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 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 !=.