Trait hlua::AsMutLua
[−]
[src]
pub unsafe trait AsMutLua<'lua>: AsLua<'lua> { fn as_mut_lua(&mut self) -> LuaContext; }
Trait for objects that have access to a Lua context. You are allowed to modify the stack, but it must be in the same state as it was when you started.
Required Methods
fn as_mut_lua(&mut self) -> LuaContext
Returns the raw Lua context.
Implementors
impl<'a, 'lua> AsMutLua<'lua> for &'a mut InsideCallback
impl<'lua, L> AsMutLua<'lua> for LuaFunction<L> where
L: AsMutLua<'lua>,impl<'lua, L> AsMutLua<'lua> for LuaTable<L> where
L: AsMutLua<'lua>,impl<'t, 'lua, L, K, V> AsMutLua<'lua> for LuaTableIterator<'t, L, K, V> where
L: AsMutLua<'lua>,impl<'lua> AsMutLua<'lua> for Lua<'lua>
impl<'lua, L> AsMutLua<'lua> for PushGuard<L> where
L: AsMutLua<'lua>,impl<'a, 'lua, L: ?Sized> AsMutLua<'lua> for &'a mut L where
L: AsMutLua<'lua>,