#[repr(C)]pub struct ecs_filter_t {Show 13 fields
pub hdr: ecs_header_t,
pub terms: *mut ecs_term_t,
pub term_count: i32,
pub field_count: i32,
pub owned: bool,
pub terms_owned: bool,
pub flags: ecs_flags32_t,
pub variable_names: [*mut c_char; 1],
pub sizes: *mut i32,
pub entity: ecs_entity_t,
pub iterable: ecs_iterable_t,
pub dtor: ecs_poly_dtor_t,
pub world: *mut ecs_world_t,
}Expand description
Filters alllow for ad-hoc quick filtering of entity tables.
Fields§
§hdr: ecs_header_t§terms: *mut ecs_term_t< Array containing terms for filter
term_count: i32< Number of elements in terms array
field_count: i32< Number of fields in iterator for filter
owned: bool< Is filter object owned by filter
terms_owned: bool< Is terms array owned by filter
flags: ecs_flags32_t< Filter flags
variable_names: [*mut c_char; 1]< Placeholder variable names array
sizes: *mut i32< Field size (same for each result)
entity: ecs_entity_t< Entity associated with filter (optional)
iterable: ecs_iterable_t< Iterable mixin
dtor: ecs_poly_dtor_t< Dtor mixin
world: *mut ecs_world_t< World mixin
Trait Implementations§
Source§impl Clone for ecs_filter_t
impl Clone for ecs_filter_t
Source§fn clone(&self) -> ecs_filter_t
fn clone(&self) -> ecs_filter_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_filter_t
impl Debug for ecs_filter_t
impl Copy for ecs_filter_t
Auto Trait Implementations§
impl Freeze for ecs_filter_t
impl RefUnwindSafe for ecs_filter_t
impl !Send for ecs_filter_t
impl !Sync for ecs_filter_t
impl Unpin for ecs_filter_t
impl UnwindSafe for ecs_filter_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