#[repr(C)]pub struct tm_graph_importer_api {
pub create_lookup_tables: Option<unsafe extern "C" fn(*mut tm_allocator_i, *const tm_graph_node_type_i, u32) -> *mut tm_graph_importer_luts_o>,
pub destroy_lookup_tables: Option<unsafe extern "C" fn(*mut tm_graph_importer_luts_o)>,
pub import_shallow: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, *const tm_graph_node_type_i, u32, *mut tm_temp_allocator_i, *const tm_graph_importer_luts_o) -> tm_graph_import_result_t>,
pub import_flattened: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, *const tm_graph_node_type_i, u32, *mut tm_temp_allocator_i, *const tm_graph_importer_luts_o) -> tm_graph_import_result_t>,
}Fields§
§create_lookup_tables: Option<unsafe extern "C" fn(*mut tm_allocator_i, *const tm_graph_node_type_i, u32) -> *mut tm_graph_importer_luts_o>§destroy_lookup_tables: Option<unsafe extern "C" fn(*mut tm_graph_importer_luts_o)>§import_shallow: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, *const tm_graph_node_type_i, u32, *mut tm_temp_allocator_i, *const tm_graph_importer_luts_o) -> tm_graph_import_result_t>§import_flattened: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, *const tm_graph_node_type_i, u32, *mut tm_temp_allocator_i, *const tm_graph_importer_luts_o) -> tm_graph_import_result_t>Trait Implementations§
Source§impl Clone for tm_graph_importer_api
impl Clone for tm_graph_importer_api
Source§fn clone(&self) -> tm_graph_importer_api
fn clone(&self) -> tm_graph_importer_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_graph_importer_api
Auto Trait Implementations§
impl Freeze for tm_graph_importer_api
impl RefUnwindSafe for tm_graph_importer_api
impl Send for tm_graph_importer_api
impl Sync for tm_graph_importer_api
impl Unpin for tm_graph_importer_api
impl UnwindSafe for tm_graph_importer_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