Structs
Tracks read and write access to specific elements in a collection.
A filter on a component that only retains results added after the system last ran.
The
AnyOf
query parameter fetches entities with any of the component types included in T.WorldQuery
that tracks changes and additions for component T
.A filter on a component that only retains results added or mutably dereferenced after the system last ran.
An
Access
that has been filtered to include and exclude certain combinations of elements.A collection of
FilteredAccess
instances.A filter that tests if any of the given filters apply.
An iterator over
K
-sized combinations of query items without repetition.Provides scoped access to a
World
state according to a given WorldQuery
and query filter.Filter that selects entities with a component
T
.Filter that selects entities without a component
T
.Enums
An error that occurs when retrieving a specific
Entity
’s query result.An error that occurs when evaluating a
QueryState
as a single expected resulted via
QueryState::single
or QueryState::single_mut
.Traits
A marker trait to indicate that the filter works at an archetype level.
A world query that is read only.
Type Definitions
The
Fetch
of a WorldQuery
, which is used to store state for each archetype/table.The item type returned when a
WorldQuery
is iterated overThe read-only
Fetch
of a WorldQuery
, which is used to store state for each archetype/table.The read-only variant of the item type returned when a
WorldQuery
is iterated over immutablyDerive Macros
Implement
WorldQuery
to use a struct as a parameter in a query