#[repr(C)]pub struct lua_ExecutionCallbacks {
pub context: *mut c_void,
pub close: Option<unsafe extern "C" fn(L: *mut lua_State)>,
pub destroy: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto)>,
pub enter: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto) -> c_int>,
pub disable: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto)>,
pub getmemorysize: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto) -> usize>,
pub gettypemapping: Option<unsafe extern "C" fn(L: *mut lua_State, str: *const c_char, len: usize) -> u8>,
pub getcounterdata: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto, count: *mut usize) -> *mut c_char>,
pub inlinefunction: Option<unsafe extern "C" fn(L: *mut lua_State, caller: *mut Closure, target: *mut Closure, pc: u32) -> *mut Proto>,
}Fields§
§context: *mut c_void§close: Option<unsafe extern "C" fn(L: *mut lua_State)>§destroy: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto)>§enter: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto) -> c_int>§disable: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto)>§getmemorysize: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto) -> usize>§gettypemapping: Option<unsafe extern "C" fn(L: *mut lua_State, str: *const c_char, len: usize) -> u8>§getcounterdata: Option<unsafe extern "C" fn(L: *mut lua_State, proto: *mut Proto, count: *mut usize) -> *mut c_char>§inlinefunction: Option<unsafe extern "C" fn(L: *mut lua_State, caller: *mut Closure, target: *mut Closure, pc: u32) -> *mut Proto>Trait Implementations§
Auto Trait Implementations§
impl !Send for lua_ExecutionCallbacks
impl !Sync for lua_ExecutionCallbacks
impl Freeze for lua_ExecutionCallbacks
impl RefUnwindSafe for lua_ExecutionCallbacks
impl Unpin for lua_ExecutionCallbacks
impl UnsafeUnpin for lua_ExecutionCallbacks
impl UnwindSafe for lua_ExecutionCallbacks
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