[][src]Trait dyon::embed::PopVariable

pub trait PopVariable: Sized {
    fn pop_var(rt: &Runtime, var: &Variable) -> Result<Self, String>;
}

Implemented by types that can be popped from the runtime stack.

Required methods

fn pop_var(rt: &Runtime, var: &Variable) -> Result<Self, String>

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

Loading content...

Implementations on Foreign Types

impl PopVariable for bool[src]

impl PopVariable for String[src]

impl PopVariable for Arc<String>[src]

impl PopVariable for u32[src]

impl PopVariable for usize[src]

impl PopVariable for f32[src]

impl PopVariable for f64[src]

impl<T: PopVariable> PopVariable for Option<T>[src]

impl<T: PopVariable, U: PopVariable> PopVariable for Result<T, U>[src]

impl<T: PopVariable> PopVariable for [T; 2][src]

impl<T: PopVariable> PopVariable for [T; 3][src]

impl<T: PopVariable> PopVariable for [T; 4][src]

impl<T: PopVariable, U: PopVariable> PopVariable for (T, U)[src]

impl<T: PopVariable, U: PopVariable, V: PopVariable> PopVariable for (T, U, V)[src]

impl<T: PopVariable, U: PopVariable, V: PopVariable, W: PopVariable> PopVariable for (T, U, V, W)[src]

impl<T: PopVariable> PopVariable for Vec<T>[src]

Loading content...

Implementors

impl PopVariable for Variable[src]

impl PopVariable for Mat4[src]

impl PopVariable for Vec4[src]

impl PopVariable for RustObject[src]

Loading content...