pub trait QuerySet: Send + Sync {
// Required method
fn filter_archetypes(&mut self, world: &World, archetypes: &mut BitSet);
}Expand description
This trait is for providing abstraction across tuples of queries for populating the type information in the system closure. This trait also provides access to the underlying query information.
Required Methods§
Sourcefn filter_archetypes(&mut self, world: &World, archetypes: &mut BitSet)
fn filter_archetypes(&mut self, world: &World, archetypes: &mut BitSet)
Returns the archetypes accessed by this collection of queries. This allows for caching effiency and granularity for system dispatching.