#[repr(C)]pub struct tm_owner_component_api {
pub create: Option<unsafe extern "C" fn(*mut tm_entity_context_o) -> *mut tm_owner_component_manager_o>,
pub children: Option<unsafe extern "C" fn(*const tm_owner_component_manager_o, *const tm_owner_component_t, *mut tm_entity_t)>,
pub add_children: Option<unsafe extern "C" fn(*mut tm_owner_component_manager_o, *mut tm_owner_component_t, *const tm_entity_t, u32)>,
pub remove_children: Option<unsafe extern "C" fn(*mut tm_owner_component_manager_o, *mut tm_owner_component_t, *const tm_entity_t, u32)>,
pub remove_all_children: Option<unsafe extern "C" fn(*mut tm_owner_component_manager_o, *mut tm_owner_component_t)>,
pub descendants: Option<unsafe extern "C" fn(*const tm_owner_component_manager_o, *const tm_owner_component_t, *mut tm_temp_allocator_i) -> *mut tm_entity_t>,
}Fields§
§create: Option<unsafe extern "C" fn(*mut tm_entity_context_o) -> *mut tm_owner_component_manager_o>§children: Option<unsafe extern "C" fn(*const tm_owner_component_manager_o, *const tm_owner_component_t, *mut tm_entity_t)>§add_children: Option<unsafe extern "C" fn(*mut tm_owner_component_manager_o, *mut tm_owner_component_t, *const tm_entity_t, u32)>§remove_children: Option<unsafe extern "C" fn(*mut tm_owner_component_manager_o, *mut tm_owner_component_t, *const tm_entity_t, u32)>§remove_all_children: Option<unsafe extern "C" fn(*mut tm_owner_component_manager_o, *mut tm_owner_component_t)>§descendants: Option<unsafe extern "C" fn(*const tm_owner_component_manager_o, *const tm_owner_component_t, *mut tm_temp_allocator_i) -> *mut tm_entity_t>Trait Implementations§
Source§impl Clone for tm_owner_component_api
impl Clone for tm_owner_component_api
Source§fn clone(&self) -> tm_owner_component_api
fn clone(&self) -> tm_owner_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_owner_component_api
Auto Trait Implementations§
impl Freeze for tm_owner_component_api
impl RefUnwindSafe for tm_owner_component_api
impl Send for tm_owner_component_api
impl Sync for tm_owner_component_api
impl Unpin for tm_owner_component_api
impl UnwindSafe for tm_owner_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