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

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

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

Implementations on Foreign Types

impl PopVariable for bool
[src]

[src]

impl PopVariable for String
[src]

[src]

impl PopVariable for Arc<String>
[src]

[src]

impl PopVariable for u32
[src]

[src]

impl PopVariable for usize
[src]

[src]

impl PopVariable for f32
[src]

[src]

impl PopVariable for f64
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Implementors