Function bevy::ecs::prelude::any_with_component
pub fn any_with_component<T>() -> impl FnMut(Query<'_, '_, (), With<T>>)where
T: Component,
Expand description
Generates a Condition
-satisfying closure that returns true
if there are any entities with the given component type.