#[repr(C)]pub struct LuaDebug {
pub event: c_int,
pub name: LuaString,
pub namewhat: LuaString,
pub what: LuaString,
pub source: LuaString,
pub currentline: c_int,
pub nups: c_int,
pub linedefined: c_int,
pub lastlinedefined: c_int,
pub short_src: [c_char; 128],
pub i_ci: c_int,
}
Expand description
Lua’s lua_Debug type
Fields§
§event: c_int
(n)
name: LuaString
(n)
namewhat: LuaString
(n) - global' |
local’ | field' |
method’
what: LuaString
(S) - Lua' |
C’ | main' |
tail’
source: LuaString
(S)
currentline: c_int
(l)
nups: c_int
(u)
linedefined: c_int
(S)
lastlinedefined: c_int
(S)
short_src: [c_char; 128]
(S)
i_ci: c_int
This should be private but whatever.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LuaDebug
impl RefUnwindSafe for LuaDebug
impl !Send for LuaDebug
impl !Sync for LuaDebug
impl Unpin for LuaDebug
impl UnwindSafe for LuaDebug
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