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]

[src]

Formats the value using the given formatter.

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

[src]

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

[src]

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

[src]

Returns the raw Lua context.