Struct trex::ComponentFilter
[−]
[src]
pub struct ComponentFilter { /* fields omitted */ }
Used to filter the list of entities based on the components that are attached to them.
Methods
impl ComponentFilter
[src]
fn new() -> ComponentFilter
Create an empty ComponentFilter
.
fn with<C: FamilyMember>(self) -> Self
Extend the filter to include the given component type.