[][src]Trait legion::query::EntityFilter

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); }

A combination of a LayoutFilter and a DynamicFilter.

Associated Types

type Layout: LayoutFilter + GroupMatcher + Default + Send + Sync

The layout filter type.

type Dynamic: DynamicFilter

The dynamic filter type.

Loading content...

Required methods

fn layout_filter(&self) -> &Self::Layout

Returns a reference to the layout filter.

fn filters(&mut self) -> (&Self::Layout, &mut Self::Dynamic)

Returns a tuple of the layout and dynamic filters.

Loading content...

Implementors

Loading content...