Trait legion::query::EntityFilter
source · [−]pub trait EntityFilter: Default + Send + Sync {
type Layout: LayoutFilter + GroupMatcher + Default + Send + Sync;
type Dynamic: DynamicFilter;
fn layout_filter(&self) -> &Self::Layout;
fn filters(&mut self) -> (&Self::Layout, &mut Self::Dynamic);
}
Expand description
A combination of a LayoutFilter
and a DynamicFilter
.
Associated Types
type Layout: LayoutFilter + GroupMatcher + Default + Send + Sync
type Layout: LayoutFilter + GroupMatcher + Default + Send + Sync
The layout filter type.
type Dynamic: DynamicFilter
type Dynamic: DynamicFilter
The dynamic filter type.
Required methods
fn layout_filter(&self) -> &Self::Layout
fn layout_filter(&self) -> &Self::Layout
Returns a reference to the layout filter.