#[repr(C)]pub struct tm_api_registry_api {
pub set: Option<unsafe extern "C" fn(*const i8, *mut c_void, u32)>,
pub remove: Option<unsafe extern "C" fn(*mut c_void)>,
pub get: Option<unsafe extern "C" fn(*const i8) -> *mut c_void>,
pub get_optional: Option<unsafe extern "C" fn(*const i8) -> *mut c_void>,
pub add_implementation: Option<unsafe extern "C" fn(*const i8, *mut c_void)>,
pub remove_implementation: Option<unsafe extern "C" fn(*const i8, *mut c_void)>,
pub implementations: Option<unsafe extern "C" fn(*const i8, *mut u32) -> *mut *mut c_void>,
pub add_listener: Option<unsafe extern "C" fn(*const tm_api_registry_listener_i)>,
pub static_variable: Option<unsafe extern "C" fn(u64, u32, *const i8, u32) -> *mut c_void>,
pub log_missing_apis: Option<unsafe extern "C" fn()>,
}Fields§
§set: Option<unsafe extern "C" fn(*const i8, *mut c_void, u32)>§remove: Option<unsafe extern "C" fn(*mut c_void)>§get: Option<unsafe extern "C" fn(*const i8) -> *mut c_void>§get_optional: Option<unsafe extern "C" fn(*const i8) -> *mut c_void>§add_implementation: Option<unsafe extern "C" fn(*const i8, *mut c_void)>§remove_implementation: Option<unsafe extern "C" fn(*const i8, *mut c_void)>§implementations: Option<unsafe extern "C" fn(*const i8, *mut u32) -> *mut *mut c_void>§add_listener: Option<unsafe extern "C" fn(*const tm_api_registry_listener_i)>§static_variable: Option<unsafe extern "C" fn(u64, u32, *const i8, u32) -> *mut c_void>§log_missing_apis: Option<unsafe extern "C" fn()>Trait Implementations§
Source§impl Clone for tm_api_registry_api
impl Clone for tm_api_registry_api
Source§fn clone(&self) -> tm_api_registry_api
fn clone(&self) -> tm_api_registry_api
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 moreimpl Copy for tm_api_registry_api
Auto Trait Implementations§
impl Freeze for tm_api_registry_api
impl RefUnwindSafe for tm_api_registry_api
impl Send for tm_api_registry_api
impl Sync for tm_api_registry_api
impl Unpin for tm_api_registry_api
impl UnwindSafe for tm_api_registry_api
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