Struct rlua::Debug [−][src]
pub struct Debug<'a> { /* fields omitted */ }
Expand description
Contains information about currently executing Lua code.
The Debug
structure is provided as a parameter to the hook function set with
Lua::set_hook
. You may call the methods on this structure to retrieve information about the
Lua code executing at the time that the hook function was called. Further information can be
found in the Lua 5.4 documentaton.
Implementations
Corresponds to the n
what mask.
Corresponds to the S
what mask.
Corresponds to the t
what mask. Returns true if the hook is in a function tail call, false
otherwise.
Corresponds to the u
what mask.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Debug<'a>
impl<'a> UnwindSafe for Debug<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more