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

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

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

Required methods

fn push_var(&self) -> Variable

Converts from self to variable.

Loading content...

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]

Loading content...

Implementors

impl PushVariable for Variable[src]

impl PushVariable for Mat4[src]

impl PushVariable for Vec4[src]

impl PushVariable for RustObject[src]

Loading content...