Function legion::component [−][src]
pub fn component<T: Component>(
) -> EntityFilterTuple<ComponentFilter<T>, Passthrough>
Expand description
Constructs a filter which requires that the entities have the given component.
pub fn component<T: Component>(
) -> EntityFilterTuple<ComponentFilter<T>, Passthrough>
Constructs a filter which requires that the entities have the given component.