[−][src]Struct tm_rs::ffi::tm_entity_api
Fields
create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>
create_context: Option<unsafe extern "C" fn(*mut tm_allocator_i, *mut tm_the_truth_o, i32) -> *mut tm_entity_context_o>
destroy_context: Option<unsafe extern "C" fn(*mut tm_entity_context_o)>
register_component: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_component_i) -> u32>
num_components: Option<unsafe extern "C" fn(*mut tm_entity_context_o) -> u32>
component: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u32) -> *const tm_component_i>
register_engine: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_engine_i)>
registered_engines: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *mut u32) -> *mut tm_engine_i>
register_system: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_entity_system_i)>
registered_systems: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *mut u32) -> *mut tm_entity_system_i>
create_child_allocator: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const i8, *mut tm_allocator_i)>
destroy_child_allocator: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *mut tm_allocator_i)>
the_truth: Option<unsafe extern "C" fn(*mut tm_entity_context_o) -> *mut tm_the_truth_o>
unset_asset_root: Option<unsafe extern "C" fn(*mut tm_entity_context_o)>
create_entity: Option<unsafe extern "C" fn(*mut tm_entity_context_o) -> tm_entity_t>
batch_create_entity: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *mut tm_entity_t, u32)>
create_entity_from_mask: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_component_mask_t) -> tm_entity_t>
batch_create_entity_from_mask: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_component_mask_t, *mut tm_entity_t, u32)>
create_entity_from_asset: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_tt_id_t) -> tm_entity_t>
batch_create_entity_from_asset: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_tt_id_t, *mut tm_entity_t, u32)>
destroy_entity: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t)>
batch_destroy_entity: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_entity_t, u32)>
destroy_all_entities: Option<unsafe extern "C" fn(*mut tm_entity_context_o)>
queue_destroy_entities: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_entity_t, u32)>
is_alive: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t) -> bool>
num_entities: Option<unsafe extern "C" fn(*mut tm_entity_context_o) -> u32>
entities_matching: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_component_mask_t, *mut tm_temp_allocator_i) -> *mut tm_entity_set_t>
flatten_set: Option<unsafe extern "C" fn(*mut tm_entity_t, *const tm_entity_set_t)>
lookup_component: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u64) -> u32>
component_manager: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u32) -> *mut tm_component_manager_o>
create_component_mask: Option<unsafe extern "C" fn(*const u32, u32) -> tm_component_mask_t>
component_mask: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t) -> *const tm_component_mask_t>
add_component: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, u32) -> *mut c_void>
get_component: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, u32) -> *mut c_void>
get_component_by_hash: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, u64) -> *mut c_void>
remove_component: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, u32)>
call_remove_on_all_entities: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u32)>
parent: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t) -> tm_entity_t>
asset: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t) -> tm_tt_id_t>
find_entity_from_asset: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_tt_id_t) -> tm_entity_t>
resolve_asset_reference: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, tm_tt_id_t) -> tm_entity_t>
resolve_path: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, *const i8) -> tm_entity_t>
propagate_asset_changes: Option<unsafe extern "C" fn(*mut tm_entity_context_o)>
propagate_listen_to: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, tm_tt_id_t)>
set_blackboard_double: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u64, f64)>
set_blackboard_ptr: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u64, *mut c_void)>
has_blackboard: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u64) -> bool>
get_blackboard_double: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u64, f64) -> f64>
get_blackboard_ptr: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u64) -> *mut c_void>
run_engine: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *const tm_engine_i)>
update: Option<unsafe extern "C" fn(*mut tm_entity_context_o)>
listen: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, u32, *const tm_entity_listener_i)>
unlisten: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, u32, *const tm_entity_listener_i)>
notify: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u32, *const tm_entity_t, u32)>
listen_event: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, u64, *const tm_entity_event_listener_i)>
unlisten_event: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, u64, *const tm_entity_event_listener_i)>
unlisten_all: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *mut c_void)>
notify_event: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u64, *mut tm_entity_t, u32, *mut c_void, u32, u32)>
hot_reload: Option<unsafe extern "C" fn()>
set_debug_draw: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u32, u64, bool)>
has_debug_draw: Option<unsafe extern "C" fn(*mut tm_entity_context_o, u32, u64) -> bool>
clear_debug_draw: Option<unsafe extern "C" fn(*mut tm_entity_context_o)>
debug_draw: Option<unsafe extern "C" fn(*mut tm_entity_context_o, *mut tm_primitive_drawer_buffer_t, *mut tm_primitive_drawer_buffer_t, *mut tm_allocator_i, *const tm_camera_t, tm_rect_t)>
Trait Implementations
impl Clone for tm_entity_api
[src]
pub fn clone(&self) -> tm_entity_api
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tm_entity_api
[src]
Auto Trait Implementations
impl RefUnwindSafe for tm_entity_api
impl Send for tm_entity_api
impl Sync for tm_entity_api
impl Unpin for tm_entity_api
impl UnwindSafe for tm_entity_api
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,