Struct hlua::InsideCallback
[−]
[src]
pub struct InsideCallback { /* fields omitted */ }
Opaque type that represents the Lua context when inside a callback.
Some types (like Result
) can only be returned from a callback and not written inside a
Lua variable. This type is here to enforce this restriction.
Trait Implementations
impl Debug for InsideCallback
[src]
impl<'a, 'lua> AsLua<'lua> for &'a InsideCallback
[src]
fn as_lua(&self) -> LuaContext
[src]
impl<'a, 'lua> AsLua<'lua> for &'a mut InsideCallback
[src]
fn as_lua(&self) -> LuaContext
[src]
impl<'a, 'lua> AsMutLua<'lua> for &'a mut InsideCallback
[src]
fn as_mut_lua(&mut self) -> LuaContext
[src]
Returns the raw Lua context.