#[repr(C)]pub struct tm_asset_io_api {
pub add_asset_io: Option<unsafe extern "C" fn(*mut tm_asset_io_i)>,
pub remove_asset_io: Option<unsafe extern "C" fn(*mut tm_asset_io_i)>,
pub importer: Option<unsafe extern "C" fn(*const i8) -> *mut tm_asset_io_i>,
pub reimporter: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_id_t) -> *mut tm_asset_io_i>,
pub exporter: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_id_t) -> *mut tm_asset_io_i>,
pub io_interfaces: Option<unsafe extern "C" fn(*mut *mut tm_asset_io_i) -> u32>,
}Fields§
§add_asset_io: Option<unsafe extern "C" fn(*mut tm_asset_io_i)>§remove_asset_io: Option<unsafe extern "C" fn(*mut tm_asset_io_i)>§importer: Option<unsafe extern "C" fn(*const i8) -> *mut tm_asset_io_i>§reimporter: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_id_t) -> *mut tm_asset_io_i>§exporter: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_id_t) -> *mut tm_asset_io_i>§io_interfaces: Option<unsafe extern "C" fn(*mut *mut tm_asset_io_i) -> u32>Trait Implementations§
Source§impl Clone for tm_asset_io_api
impl Clone for tm_asset_io_api
Source§fn clone(&self) -> tm_asset_io_api
fn clone(&self) -> tm_asset_io_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_asset_io_api
Auto Trait Implementations§
impl Freeze for tm_asset_io_api
impl RefUnwindSafe for tm_asset_io_api
impl Send for tm_asset_io_api
impl Sync for tm_asset_io_api
impl Unpin for tm_asset_io_api
impl UnwindSafe for tm_asset_io_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