#[repr(C)]pub struct tm_volume_component_api {
pub contains: Option<unsafe extern "C" fn(*const tm_volume_component_t, *const tm_transform_t, *const tm_vec3_t, *mut bool, u32)>,
pub contains_with_blend: Option<unsafe extern "C" fn(*const tm_volume_component_t, *const tm_transform_t, *const tm_vec3_t, *mut f32, u32)>,
pub distance: Option<unsafe extern "C" fn(*const tm_volume_component_t, *const tm_transform_t, *const tm_vec3_t, *mut f32, u32)>,
pub get_volume: Option<unsafe extern "C" fn(*const tm_volume_component_t, *const tm_transform_t) -> f32>,
pub sort_volumes_from_point: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_entity_t, *const tm_transform_component_t, *const u32, u32, tm_vec3_t, *mut *mut u32, *mut *mut f32, *mut *mut u32, *mut tm_allocator_i)>,
}Fields§
§contains: Option<unsafe extern "C" fn(*const tm_volume_component_t, *const tm_transform_t, *const tm_vec3_t, *mut bool, u32)>§contains_with_blend: Option<unsafe extern "C" fn(*const tm_volume_component_t, *const tm_transform_t, *const tm_vec3_t, *mut f32, u32)>§distance: Option<unsafe extern "C" fn(*const tm_volume_component_t, *const tm_transform_t, *const tm_vec3_t, *mut f32, u32)>§get_volume: Option<unsafe extern "C" fn(*const tm_volume_component_t, *const tm_transform_t) -> f32>§sort_volumes_from_point: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_entity_t, *const tm_transform_component_t, *const u32, u32, tm_vec3_t, *mut *mut u32, *mut *mut f32, *mut *mut u32, *mut tm_allocator_i)>Trait Implementations§
Source§impl Clone for tm_volume_component_api
impl Clone for tm_volume_component_api
Source§fn clone(&self) -> tm_volume_component_api
fn clone(&self) -> tm_volume_component_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_volume_component_api
Auto Trait Implementations§
impl Freeze for tm_volume_component_api
impl RefUnwindSafe for tm_volume_component_api
impl Send for tm_volume_component_api
impl Sync for tm_volume_component_api
impl Unpin for tm_volume_component_api
impl UnwindSafe for tm_volume_component_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