Trait tlua::PushInto[][src]

pub trait PushInto<L> where
    L: AsLua
{ type Err; fn push_into_lua(self, lua: L) -> Result<PushGuard<L>, (Self::Err, L)>; fn push_into_no_err(self, lua: L) -> PushGuard<L>
    where
        Self: Sized,
        <Self as PushInto<L>>::Err: Into<Void>
, { ... } }
Expand description

Types implementing this trait can be pushed onto the Lua stack by value.

Associated Types

Required methods

Push the value into lua by value

Provided methods

Same as push_into_lua but can only succeed and is only available if Err implements Into<Void>.

Implementations on Foreign Types

Implementors