#[repr(C)]pub struct LeviRsModVTable {
pub abi_version: u32,
pub instance: *mut c_void,
pub on_enable: Option<unsafe extern "C" fn(instance: *mut c_void) -> bool>,
pub on_disable: Option<unsafe extern "C" fn(instance: *mut c_void) -> bool>,
pub on_unload: Option<unsafe extern "C" fn(instance: *mut c_void) -> bool>,
}Expand description
Filled in by the Rust mod inside levi_rs_main. Mirrors LeviRsModVTable.
Fields§
§abi_version: u32§instance: *mut c_void§on_enable: Option<unsafe extern "C" fn(instance: *mut c_void) -> bool>§on_disable: Option<unsafe extern "C" fn(instance: *mut c_void) -> bool>§on_unload: Option<unsafe extern "C" fn(instance: *mut c_void) -> bool>Auto Trait Implementations§
impl !Send for LeviRsModVTable
impl !Sync for LeviRsModVTable
impl Freeze for LeviRsModVTable
impl RefUnwindSafe for LeviRsModVTable
impl Unpin for LeviRsModVTable
impl UnsafeUnpin for LeviRsModVTable
impl UnwindSafe for LeviRsModVTable
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