Trait hlua::AsLua
[−]
[src]
pub unsafe trait AsLua { fn as_lua(&self) -> LuaContext; }
Trait for objects that have access to a Lua context. When using a context returned by a
AsLua
, you are not allowed to modify the stack.
Required Methods
fn as_lua(&self) -> LuaContext
Implementors
impl<L> AsLua for LuaTable<L> where L: AsLua
impl<'t, L, K, V> AsLua for LuaTableIterator<'t, L, K, V> where L: AsMutLua
impl<'a> AsLua for &'a InsideCallback
impl<'a> AsLua for &'a mut InsideCallback
impl<'a, 'lua> AsLua for &'a Lua<'lua>
impl<'a, 'lua> AsLua for &'a mut Lua<'lua>
impl<L> AsLua for PushGuard<L> where L: AsMutLua
impl<'a, L> AsLua for &'a L where L: AsLua
impl<'a, L> AsLua for &'a mut L where L: AsLua