Expand description
Contains APIs for retrieving component data from the world.
Structs§
- Tracks read and write access to specific elements in a collection.
- A filter on a component that only retains results the first time after they have been added.
- The
AnyOf
query parameter fetches entities with any of the component types included in T. - A filter on a component that only retains results the first time after they have been added or mutably dereferenced.
- An
Access
that has been filtered to include and exclude certain combinations of elements. - A collection of
FilteredAccess
instances. - Returns a bool that describes if an entity has the component
T
. - A filter that tests if any of the given filters apply.
- Builder struct to create
QueryState
instances at runtime. - An iterator over
K
-sized combinations of query items without repetition. - A parallel iterator over query results of a
Query
. - The
WorldQuery::Fetch
type for& T
. - Filter that selects entities with a component
T
. - Filter that selects entities without a component
T
. - The
WorldQuery::Fetch
type for&mut T
.
Enums§
- Records how two accesses conflict with each other
- An error that occurs when evaluating a
Query
orQueryState
as a single expected result viaget_single
orget_single_mut
.
Traits§
- A marker trait to indicate that the filter works at an archetype level.
- Types that filter the results of a
Query
. - A
QueryData
that is read only. - Types that can be used as parameters in a
Query
. Types that implement this should also implement eitherQueryData
orQueryFilter
Type Aliases§
- The item type returned when a
WorldQuery
is iterated over - The read-only variant of the item type returned when a
QueryData
is iterated over immutably
Derive Macros§
- Implement
QueryData
to use a struct as a data parameter in a query - Implement
QueryFilter
to use a struct as a filter parameter in a query