Trait legion::query::GroupMatcher[][src]

pub trait GroupMatcher {
    fn can_match_group() -> bool;
fn group_components() -> Vec<ComponentTypeId>; }
Expand description

Allows a filter to determine if component optimization groups can be used to accelerate queries that use this filter.

Required methods

Returns true if the filter may potentially match a group.

Returns the components that are required to be present in a group.

Implementors