pub trait LayoutFilter {
    // Required method
    fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult;
}Expand description
A filter which selects based upon which component types are attached to an entity.
These filters should be idempotent and immutable.
Required Methods§
Sourcefn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
 
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.