#[repr(C)]pub struct tm_dcc_asset_api {
pub create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>,
pub truth_type_info: Option<unsafe extern "C" fn() -> *const dcc_asset_type_info_t>,
pub bounds: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, *mut tm_vec3_t, bool)>,
pub geometry: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, *mut tm_temp_allocator_i) -> tm_dcc_asset_geometry_t>,
}Fields§
§create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>§truth_type_info: Option<unsafe extern "C" fn() -> *const dcc_asset_type_info_t>§bounds: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, *mut tm_vec3_t, bool)>§geometry: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, *mut tm_temp_allocator_i) -> tm_dcc_asset_geometry_t>Trait Implementations§
Source§impl Clone for tm_dcc_asset_api
impl Clone for tm_dcc_asset_api
Source§fn clone(&self) -> tm_dcc_asset_api
fn clone(&self) -> tm_dcc_asset_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_dcc_asset_api
Auto Trait Implementations§
impl Freeze for tm_dcc_asset_api
impl RefUnwindSafe for tm_dcc_asset_api
impl Send for tm_dcc_asset_api
impl Sync for tm_dcc_asset_api
impl Unpin for tm_dcc_asset_api
impl UnwindSafe for tm_dcc_asset_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