#[repr(C)]pub struct LuaDebug {
pub name: *const c_char,
pub what: *const c_char,
pub source: *const c_char,
pub short_src: *const c_char,
pub linedefined: c_int,
pub currentline: c_int,
pub nupvals: u8,
pub nparams: u8,
pub isvararg: c_char,
pub userdata: *mut c_void,
pub ssbuf: [c_char; 256],
}Expand description
C++ struct lua_Debug — activation record. LUA_IDSIZE = 256
(luaconf.h:71).
Fields§
§name: *const c_char§what: *const c_char§source: *const c_char§short_src: *const c_char§linedefined: c_int§currentline: c_int§nupvals: u8§nparams: u8§isvararg: c_char§userdata: *mut c_voidonly valid in luau_callhook
ssbuf: [c_char; 256]Trait Implementations§
Auto Trait Implementations§
impl !Send for LuaDebug
impl !Sync for LuaDebug
impl Freeze for LuaDebug
impl RefUnwindSafe for LuaDebug
impl Unpin for LuaDebug
impl UnsafeUnpin 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