Enum ark_api::world::EntityQueryType
source · pub enum EntityQueryType {
AllEntities,
TransformChildren(Entity),
TransformDescendants(Entity),
}Expand description
Represents an entity query type that can be used with entity queries to specify what the query should include before filtering.
Variants§
AllEntities
Query all entities in the world. Filtering by layer is optional.
TransformChildren(Entity)
Query all direct children, excluding the root. Always filters by layer.
TransformDescendants(Entity)
Query all indirect and direct children, excluding the root. Always filters by layer.
Trait Implementations§
source§impl Clone for EntityQueryType
impl Clone for EntityQueryType
source§fn clone(&self) -> EntityQueryType
fn clone(&self) -> EntityQueryType
Returns a copy 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 moreimpl Copy for EntityQueryType
Auto Trait Implementations§
impl RefUnwindSafe for EntityQueryType
impl Send for EntityQueryType
impl Sync for EntityQueryType
impl Unpin for EntityQueryType
impl UnwindSafe for EntityQueryType
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