#[repr(C)]pub struct tm_core_importer_api {
pub create: Option<unsafe extern "C" fn(a: *mut tm_allocator_i, user_tt: *mut tm_the_truth_o, user_asset_root: tm_tt_id_t, core_project_path: *const c_char, output_path: *const c_char) -> *mut tm_core_importer_state_o>,
pub destroy: Option<unsafe extern "C" fn(state: *mut tm_core_importer_state_o)>,
pub register_assets: Option<unsafe extern "C" fn(state: *mut tm_core_importer_state_o, to_register: *const tm_core_importer_asset_t, num_to_register: u32)>,
}Fields§
§create: Option<unsafe extern "C" fn(a: *mut tm_allocator_i, user_tt: *mut tm_the_truth_o, user_asset_root: tm_tt_id_t, core_project_path: *const c_char, output_path: *const c_char) -> *mut tm_core_importer_state_o>§destroy: Option<unsafe extern "C" fn(state: *mut tm_core_importer_state_o)>§register_assets: Option<unsafe extern "C" fn(state: *mut tm_core_importer_state_o, to_register: *const tm_core_importer_asset_t, num_to_register: u32)>Trait Implementations§
Source§impl Clone for tm_core_importer_api
impl Clone for tm_core_importer_api
Source§fn clone(&self) -> tm_core_importer_api
fn clone(&self) -> tm_core_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_core_importer_api
Auto Trait Implementations§
impl Freeze for tm_core_importer_api
impl RefUnwindSafe for tm_core_importer_api
impl Send for tm_core_importer_api
impl Sync for tm_core_importer_api
impl Unpin for tm_core_importer_api
impl UnwindSafe for tm_core_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