Struct tlua::UserdataOnStack [−][src]
pub struct UserdataOnStack<T, L> { /* fields omitted */ }
Expand description
Represents a user data located inside the Lua context.
Trait Implementations
Try to push v
onto the lua stack. Read more
Push v
onto the lua stack. Read more
fn try_push_one<T>(
self,
v: T
) -> Result<PushGuard<Self>, (<T as PushInto<Self>>::Err, Self)> where
Self: Sized,
T: PushOneInto<Self>,
fn try_push_one<T>(
self,
v: T
) -> Result<PushGuard<Self>, (<T as PushInto<Self>>::Err, Self)> where
Self: Sized,
T: PushOneInto<Self>,
Try to push v
onto the lua stack. Read more
Push v
onto the lua stack. Read more
Push iterator
onto the lua stack as a lua table. Read more
Push iterator
onto the lua stack as a lua table. Read more
fn read_at_nz<T>(self, index: NonZeroI32) -> Result<T, Self> where
Self: Sized,
T: LuaRead<Self>,
Reads the data from Lua at a given position.