[][src]Struct tm_sys::ffi::tm_owner_component_api

#[repr(C)]pub struct tm_owner_component_api {
    pub create: Option<unsafe extern "C" fn(ctx: *mut tm_entity_context_o) -> *mut tm_owner_component_manager_o>,
    pub children: Option<unsafe extern "C" fn(manager: *const tm_owner_component_manager_o, c: *const tm_owner_component_t, children: *mut tm_entity_t)>,
    pub add_children: Option<unsafe extern "C" fn(manager: *mut tm_owner_component_manager_o, c: *mut tm_owner_component_t, e: *const tm_entity_t, n: u32)>,
    pub remove_children: Option<unsafe extern "C" fn(manager: *mut tm_owner_component_manager_o, c: *mut tm_owner_component_t, e: *const tm_entity_t, n: u32)>,
    pub remove_all_children: Option<unsafe extern "C" fn(manager: *mut tm_owner_component_manager_o, c: *mut tm_owner_component_t)>,
    pub descendants: Option<unsafe extern "C" fn(manager: *const tm_owner_component_manager_o, c: *const tm_owner_component_t, ta: *mut tm_temp_allocator_i) -> *mut tm_entity_t>,
}

Fields

create: Option<unsafe extern "C" fn(ctx: *mut tm_entity_context_o) -> *mut tm_owner_component_manager_o>children: Option<unsafe extern "C" fn(manager: *const tm_owner_component_manager_o, c: *const tm_owner_component_t, children: *mut tm_entity_t)>add_children: Option<unsafe extern "C" fn(manager: *mut tm_owner_component_manager_o, c: *mut tm_owner_component_t, e: *const tm_entity_t, n: u32)>remove_children: Option<unsafe extern "C" fn(manager: *mut tm_owner_component_manager_o, c: *mut tm_owner_component_t, e: *const tm_entity_t, n: u32)>remove_all_children: Option<unsafe extern "C" fn(manager: *mut tm_owner_component_manager_o, c: *mut tm_owner_component_t)>descendants: Option<unsafe extern "C" fn(manager: *const tm_owner_component_manager_o, c: *const tm_owner_component_t, ta: *mut tm_temp_allocator_i) -> *mut tm_entity_t>

Trait Implementations

impl Clone for tm_owner_component_api[src]

impl Copy for tm_owner_component_api[src]

impl Debug for tm_owner_component_api[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.