pub trait DynamicFilter: Default + Send + Sync {
    fn prepare(&mut self, world: WorldId);
fn matches_archetype<F: Fetch>(&mut self, fetch: &F) -> FilterResult; }
Expand description

A filter which selects based upon the data available in the archetype.

Required methods

Prepares the filter to run.

Calculates the filter’s result for the given archetype data.

Implementors