#[repr(C)]pub struct tm_runtime_data_repository_api {
pub create: Option<unsafe extern "C" fn(*mut tm_allocator_i, *mut tm_the_truth_o, u64, u32, *mut tm_runtime_data_io_i) -> *mut tm_runtime_data_repository_o>,
pub destroy: Option<unsafe extern "C" fn(*mut tm_runtime_data_repository_o, *mut c_void)>,
pub lookup: Option<unsafe extern "C" fn(*mut tm_runtime_data_repository_o, tm_tt_id_t, u64, *mut c_void) -> tm_runtime_data_t>,
pub garbage_collect: Option<unsafe extern "C" fn(*mut tm_runtime_data_repository_o, *mut c_void)>,
}Fields§
§create: Option<unsafe extern "C" fn(*mut tm_allocator_i, *mut tm_the_truth_o, u64, u32, *mut tm_runtime_data_io_i) -> *mut tm_runtime_data_repository_o>§destroy: Option<unsafe extern "C" fn(*mut tm_runtime_data_repository_o, *mut c_void)>§lookup: Option<unsafe extern "C" fn(*mut tm_runtime_data_repository_o, tm_tt_id_t, u64, *mut c_void) -> tm_runtime_data_t>§garbage_collect: Option<unsafe extern "C" fn(*mut tm_runtime_data_repository_o, *mut c_void)>Trait Implementations§
Source§impl Clone for tm_runtime_data_repository_api
impl Clone for tm_runtime_data_repository_api
Source§fn clone(&self) -> tm_runtime_data_repository_api
fn clone(&self) -> tm_runtime_data_repository_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_runtime_data_repository_api
Auto Trait Implementations§
impl Freeze for tm_runtime_data_repository_api
impl RefUnwindSafe for tm_runtime_data_repository_api
impl Send for tm_runtime_data_repository_api
impl Sync for tm_runtime_data_repository_api
impl Unpin for tm_runtime_data_repository_api
impl UnwindSafe for tm_runtime_data_repository_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