pub trait QueryFilter {
// Required method
fn matches_archetype(arch: &Archetype) -> bool;
}Expand description
Archetype-level filter for queries.
Required Methods§
Sourcefn matches_archetype(arch: &Archetype) -> bool
fn matches_archetype(arch: &Archetype) -> bool
true if the archetype passes this filter.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.