[][src]Struct tm_rs::ffi::tm_api_registry_api

#[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

impl Clone for tm_api_registry_api[src]

impl Copy for tm_api_registry_api[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.