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
AnyOfquery 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
Accessthat has been filtered to include and exclude certain combinations of elements. - A collection of
FilteredAccessinstances. - 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
QueryStateinstances at runtime. - An iterator over
K-sized combinations of query items without repetition. - A parallel iterator over query results of a
Query. - Filter that selects entities with a component
T. - Filter that selects entities without a component
T.
Enums§
- An error that occurs when evaluating a
QueryorQueryStateas a single expected result viaget_singleorget_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
QueryDatathat is read only. - Types that can be used as parameters in a
Query. Types that implement this should also implement eitherQueryDataorQueryFilter
Type Aliases§
- The item type returned when a
WorldQueryis iterated over - The read-only variant of the item type returned when a
QueryDatais iterated over immutably
Derive Macros§
- Implement
QueryDatato use a struct as a data parameter in a query - Implement
QueryFilterto use a struct as a filter parameter in a query