[][src]Function legion::component

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

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