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
Implementors
impl PushVariable for Variable
impl PushVariable for RustObject
impl PushVariable for bool
impl PushVariable for u32
impl PushVariable for usize
impl PushVariable for f32
impl PushVariable for f64
impl PushVariable for str
impl PushVariable for String
impl PushVariable for Arc<String>
impl<T: PushVariable> PushVariable for Option<T>
impl<T: PushVariable, U: PushVariable> PushVariable for Result<T, U>
impl<T: PushVariable> PushVariable for [T; 2]
impl<T: PushVariable> PushVariable for [T; 3]
impl<T: PushVariable> PushVariable for [T; 4]
impl<T: PushVariable, U: PushVariable> PushVariable for (T, U)
impl<T: PushVariable, U: PushVariable, V: PushVariable> PushVariable for (T, U, V)
impl<T: PushVariable, U: PushVariable, V: PushVariable, W: PushVariable> PushVariable for (T, U, V, W)
impl<T: PushVariable> PushVariable for Vec<T>
impl PushVariable for Vec4