pub enum DebugWhat {
Lua,
Main,
C,
Unknown,
}Expand description
What kind of function an activation record refers to. Mirrors the relevant
part of mlua::debug::DebugSource::what.
Variants§
Lua
A Lua function.
Main
The main chunk.
C
A C / Rust (native) function.
Unknown
Unknown / unavailable.
Trait Implementations§
impl Copy for DebugWhat
impl Eq for DebugWhat
impl StructuralPartialEq for DebugWhat
Auto Trait Implementations§
impl Freeze for DebugWhat
impl RefUnwindSafe for DebugWhat
impl Send for DebugWhat
impl Sync for DebugWhat
impl Unpin for DebugWhat
impl UnsafeUnpin for DebugWhat
impl UnwindSafe for DebugWhat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more