#[repr(C)]pub struct ecs_meta_cursor_t {
pub world: *const ecs_world_t,
pub scope: [ecs_meta_scope_t; 32],
pub depth: i32,
pub valid: bool,
pub is_primitive_scope: bool,
pub lookup_action: Option<unsafe extern "C" fn(arg1: *const ecs_world_t, arg2: *const c_char, arg3: *mut c_void) -> ecs_entity_t>,
pub lookup_ctx: *mut c_void,
}Expand description
Type that enables iterating/populating a value using reflection data
Fields§
§world: *const ecs_world_t§scope: [ecs_meta_scope_t; 32]§depth: i32§valid: bool§is_primitive_scope: bool< If in root scope, this allows for a push for primitive types
lookup_action: Option<unsafe extern "C" fn(arg1: *const ecs_world_t, arg2: *const c_char, arg3: *mut c_void) -> ecs_entity_t>Custom entity lookup action for overriding default ecs_lookup_fullpath
lookup_ctx: *mut c_voidTrait Implementations§
Source§impl Clone for ecs_meta_cursor_t
impl Clone for ecs_meta_cursor_t
Source§fn clone(&self) -> ecs_meta_cursor_t
fn clone(&self) -> ecs_meta_cursor_t
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 moreSource§impl Debug for ecs_meta_cursor_t
impl Debug for ecs_meta_cursor_t
impl Copy for ecs_meta_cursor_t
Auto Trait Implementations§
impl Freeze for ecs_meta_cursor_t
impl RefUnwindSafe for ecs_meta_cursor_t
impl !Send for ecs_meta_cursor_t
impl !Sync for ecs_meta_cursor_t
impl Unpin for ecs_meta_cursor_t
impl UnwindSafe for ecs_meta_cursor_t
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