#[repr(C)]pub struct tm_cache_manager_api {
pub init: Option<unsafe extern "C" fn(*mut tm_allocator_i)>,
pub shutdown: Option<unsafe extern "C" fn()>,
pub register_tag: Option<unsafe extern "C" fn(u64, *const i8, Option<unsafe extern "C" fn(*mut tm_the_truth_o, i32, *mut c_void, u64)>)>,
pub unregister_tag: Option<unsafe extern "C" fn(u64)>,
pub update_tag: Option<unsafe extern "C" fn(u64, *mut tm_the_truth_o, *mut c_void)>,
pub rebuild_tag: Option<unsafe extern "C" fn(u64, *mut tm_the_truth_o, *mut c_void)>,
pub ui: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_ui_o, *const tm_ui_style_t, tm_rect_t)>,
}Fields§
§init: Option<unsafe extern "C" fn(*mut tm_allocator_i)>§shutdown: Option<unsafe extern "C" fn()>§register_tag: Option<unsafe extern "C" fn(u64, *const i8, Option<unsafe extern "C" fn(*mut tm_the_truth_o, i32, *mut c_void, u64)>)>§unregister_tag: Option<unsafe extern "C" fn(u64)>§update_tag: Option<unsafe extern "C" fn(u64, *mut tm_the_truth_o, *mut c_void)>§rebuild_tag: Option<unsafe extern "C" fn(u64, *mut tm_the_truth_o, *mut c_void)>§ui: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_ui_o, *const tm_ui_style_t, tm_rect_t)>Trait Implementations§
Source§impl Clone for tm_cache_manager_api
impl Clone for tm_cache_manager_api
Source§fn clone(&self) -> tm_cache_manager_api
fn clone(&self) -> tm_cache_manager_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_cache_manager_api
Auto Trait Implementations§
impl Freeze for tm_cache_manager_api
impl RefUnwindSafe for tm_cache_manager_api
impl Send for tm_cache_manager_api
impl Sync for tm_cache_manager_api
impl Unpin for tm_cache_manager_api
impl UnwindSafe for tm_cache_manager_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