Struct hlua::InsideCallback [] [src]

pub struct InsideCallback {
    // some 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<'a> AsLua for &'a InsideCallback
[src]

fn as_lua(&self) -> LuaContext

impl<'a> AsLua for &'a mut InsideCallback
[src]

fn as_lua(&self) -> LuaContext

impl<'a> AsMutLua for &'a mut InsideCallback
[src]

fn as_mut_lua(&mut self) -> LuaContext