#[repr(C)]pub struct _KureParserObserver {
pub onFunction: Option<unsafe extern "C" fn(arg1: *mut c_void, code: *const c_char, lua_code: *const c_char) -> Kure_bool>,
pub onProgram: Option<unsafe extern "C" fn(arg1: *mut c_void, code: *const c_char, lua_code: *const c_char) -> Kure_bool>,
pub object: *mut c_void,
}Fields§
§onFunction: Option<unsafe extern "C" fn(arg1: *mut c_void, code: *const c_char, lua_code: *const c_char) -> Kure_bool>§onProgram: Option<unsafe extern "C" fn(arg1: *mut c_void, code: *const c_char, lua_code: *const c_char) -> Kure_bool>§object: *mut c_voidTrait Implementations§
Source§impl Clone for _KureParserObserver
impl Clone for _KureParserObserver
Source§fn clone(&self) -> _KureParserObserver
fn clone(&self) -> _KureParserObserver
Returns a duplicate 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 _KureParserObserver
impl Debug for _KureParserObserver
impl Copy for _KureParserObserver
Auto Trait Implementations§
impl Freeze for _KureParserObserver
impl RefUnwindSafe for _KureParserObserver
impl !Send for _KureParserObserver
impl !Sync for _KureParserObserver
impl Unpin for _KureParserObserver
impl UnwindSafe for _KureParserObserver
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