Function legion::component[][src]

pub fn component<T: Component>(
) -> EntityFilterTuple<ComponentFilter<T>, Passthrough>

Constructs a filter which requires that the entities have the given component.