pub fn despawn_all_where<D, F>(
cond: impl FnMut(<D as QueryData>::Item<'_, '_>) -> bool + Send + 'static,
) -> impl Commandwhere
D: QueryData,
F: QueryFilter,Expand description
A Command that despawns all entities matching a specific QueryFilter and condition.