[][src]Struct tm_sys::ffi::tm_cache_manager_api

#[repr(C)]pub struct tm_cache_manager_api {
    pub init: Option<unsafe extern "C" fn(a: *mut tm_allocator_i)>,
    pub shutdown: Option<unsafe extern "C" fn()>,
    pub register_tag: Option<unsafe extern "C" fn(tag: u64, display_name: *const c_char, callback: tm_cache_invalidation_callback)>,
    pub unregister_tag: Option<unsafe extern "C" fn(tag: u64)>,
    pub update_tag: Option<unsafe extern "C" fn(tag: u64, tt: *mut tm_the_truth_o, user_data: *mut c_void)>,
    pub rebuild_tag: Option<unsafe extern "C" fn(tag: u64, tt: *mut tm_the_truth_o, user_data: *mut c_void)>,
    pub ui: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, ui: *mut tm_ui_o, style: *const tm_ui_style_t, rect: tm_rect_t)>,
}

Fields

init: Option<unsafe extern "C" fn(a: *mut tm_allocator_i)>shutdown: Option<unsafe extern "C" fn()>register_tag: Option<unsafe extern "C" fn(tag: u64, display_name: *const c_char, callback: tm_cache_invalidation_callback)>unregister_tag: Option<unsafe extern "C" fn(tag: u64)>update_tag: Option<unsafe extern "C" fn(tag: u64, tt: *mut tm_the_truth_o, user_data: *mut c_void)>rebuild_tag: Option<unsafe extern "C" fn(tag: u64, tt: *mut tm_the_truth_o, user_data: *mut c_void)>ui: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, ui: *mut tm_ui_o, style: *const tm_ui_style_t, rect: tm_rect_t)>

Trait Implementations

impl Clone for tm_cache_manager_api[src]

impl Copy for tm_cache_manager_api[src]

impl Debug for tm_cache_manager_api[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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.