Enum dyon::Variable [] [src]

pub enum Variable {
    Ref(usize),
    Return,
    Bool(boolOption<Box<Vec<Variable>>>),
    F64(f64Option<Box<Vec<Variable>>>),
    Vec4([f32; 4]),
    Text(Arc<String>),
    Array(Array),
    Object(Object),
    Link(Box<Link>),
    UnsafeRef(UnsafeRef),
    RustObject(RustObject),
    Option(Option<Box<Variable>>),
    Result(Result<Box<Variable>, Box<Error>>),
    Thread(Thread),
    Closure(Arc<Closure>, Box<ClosureEnvironment>),
    In(Arc<Mutex<Receiver<Variable>>>),
}

Variants

Methods

impl Variable
[src]

[src]

[src]

Trait Implementations

impl PopVariable for Variable
[src]

[src]

Converts variable to self. The variable should be resolved before call. Read more

impl PushVariable for Variable
[src]

[src]

Converts from self to variable.

impl Debug for Variable
[src]

[src]

Formats the value using the given formatter.

impl Clone for Variable
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Send for Variable
[src]

This is requires because UnsafeRef(*mut Variable) can not be sent across threads. The lack of UnsafeRef variant when sending across threads is guaranteed at language level. The interior of UnsafeRef can not be accessed outside this library.

impl PartialEq for Variable
[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 !=.