#[repr(C)]pub struct ecs_term_t {
pub id: ecs_id_t,
pub src: ecs_term_id_t,
pub first: ecs_term_id_t,
pub second: ecs_term_id_t,
pub inout: ecs_inout_kind_t,
pub oper: ecs_oper_kind_t,
pub id_flags: ecs_id_t,
pub name: *mut c_char,
pub field_index: i32,
pub idr: *mut ecs_id_record_t,
pub flags: ecs_flags16_t,
pub move_: bool,
}Expand description
Type that describes a term (single element in a query)
Fields§
§id: ecs_id_t< Component id to be matched by term. Can be set directly, or will be populated from the first/second members, which provide more flexibility.
src: ecs_term_id_t< Source of term
first: ecs_term_id_t< Component or first element of pair
second: ecs_term_id_t< Second element of pair
inout: ecs_inout_kind_t< Access to contents matched by term
oper: ecs_oper_kind_t< Operator of term
id_flags: ecs_id_t< Id flags of term id
name: *mut c_char< Name of term
field_index: i32< Index of field for term in iterator
idr: *mut ecs_id_record_t< Cached pointer to internal index
flags: ecs_flags16_t< Flags that help eval, set by ecs_filter_init
move_: bool< Used by internals
Trait Implementations§
Source§impl Clone for ecs_term_t
impl Clone for ecs_term_t
Source§fn clone(&self) -> ecs_term_t
fn clone(&self) -> ecs_term_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_term_t
impl Debug for ecs_term_t
impl Copy for ecs_term_t
Auto Trait Implementations§
impl Freeze for ecs_term_t
impl RefUnwindSafe for ecs_term_t
impl !Send for ecs_term_t
impl !Sync for ecs_term_t
impl Unpin for ecs_term_t
impl UnwindSafe for ecs_term_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