Trait dyon::embed::PushVariable[][src]

pub trait PushVariable {
    fn push_var(&self) -> Variable;
}

Implemented by types that can be pushed to the runtime stack.

Required Methods

Converts from self to variable.

Implementations on Foreign Types

impl PushVariable for bool
[src]

impl PushVariable for u32
[src]

impl PushVariable for usize
[src]

impl PushVariable for f32
[src]

impl PushVariable for f64
[src]

impl PushVariable for str
[src]

impl PushVariable for String
[src]

impl PushVariable for Arc<String>
[src]

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

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

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

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

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

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

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

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

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

Implementors