Module rfw::ecs::query[][src]

Structs

Filter that retrieves components of type T that have been added since the last execution of this system

Change trackers for component T

Filter that retrieves components of type T that have been changed since the last execution of this system

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.

Traits

State used to construct a Fetch. This will be cached inside QueryState, so it is best to move as much data / computation here as possible to reduce the cost of constructing Fetch. SAFETY: Implementor must ensure that FetchState::update_component_access and FetchState::update_archetype_component_access exactly reflects the results of FetchState::matches_archetype, FetchState::matches_table, Fetch::archetype_fetch, and Fetch::table_fetch

Fetch methods used by query filters. This trait exists to allow “short circuit” behaviors for relevant query filter fetches.

A fetch that is read only. This must only be implemented for read-only fetches.