Trait legion::query::LayoutFilter[][src]

pub trait LayoutFilter {
    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

Calculates the filter’s result for the given entity layout.

Implementations on Foreign Types

Implementors