#[repr(C)]pub struct lua_Callbacks {
pub userdata: *mut c_void,
pub interrupt: Option<unsafe extern "C" fn(L: *mut lua_State, gc: c_int)>,
pub panic: Option<unsafe extern "C" fn(L: *mut lua_State, errcode: c_int)>,
pub userthread: Option<unsafe extern "C" fn(LP: *mut lua_State, L: *mut lua_State)>,
pub useratom: Option<unsafe extern "C" fn(s: *const c_char, l: usize) -> i16>,
pub debugbreak: Option<unsafe extern "C" fn(L: *mut lua_State, ar: *mut lua_Debug)>,
pub debugstep: Option<unsafe extern "C" fn(L: *mut lua_State, ar: *mut lua_Debug)>,
pub debuginterrupt: Option<unsafe extern "C" fn(L: *mut lua_State, ar: *mut lua_Debug)>,
pub debugprotectederror: Option<unsafe extern "C" fn(L: *mut lua_State)>,
}Fields§
§userdata: *mut c_void§interrupt: Option<unsafe extern "C" fn(L: *mut lua_State, gc: c_int)>§panic: Option<unsafe extern "C" fn(L: *mut lua_State, errcode: c_int)>§userthread: Option<unsafe extern "C" fn(LP: *mut lua_State, L: *mut lua_State)>§useratom: Option<unsafe extern "C" fn(s: *const c_char, l: usize) -> i16>§debugbreak: Option<unsafe extern "C" fn(L: *mut lua_State, ar: *mut lua_Debug)>§debugstep: Option<unsafe extern "C" fn(L: *mut lua_State, ar: *mut lua_Debug)>§debuginterrupt: Option<unsafe extern "C" fn(L: *mut lua_State, ar: *mut lua_Debug)>§debugprotectederror: Option<unsafe extern "C" fn(L: *mut lua_State)>Trait Implementations§
Source§impl Clone for lua_Callbacks
impl Clone for lua_Callbacks
Source§fn clone(&self) -> lua_Callbacks
fn clone(&self) -> lua_Callbacks
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for lua_Callbacks
impl Debug for lua_Callbacks
impl Copy for lua_Callbacks
Auto Trait Implementations§
impl Freeze for lua_Callbacks
impl RefUnwindSafe for lua_Callbacks
impl !Send for lua_Callbacks
impl !Sync for lua_Callbacks
impl Unpin for lua_Callbacks
impl UnwindSafe for lua_Callbacks
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