Vic
Vic
# Objective Currently, a query iterator can be collected into a `Vec` and sorted, but this can be quite unwieldy, especially when many `Component`s are involved. The `itertools` crate helps...
# Objective We currently cannot iterate from the back of `QueryManyIter`. ## Solution Implement `DoubleEndedIterator` for `QueryManyIter` and add a `fetch_next_back` method. These impls are bounded on the underlying `entity_iter`...
# Objective ~Requires #13476~. Currently we cannot iterate mutably over `QueryManyIter` even if all entities we pass are unique. ## Solution Add a `QueryManyUniqueIter` wrapper around `QueryManyIter` for full `Iterator`...
# Objective ~~The unsafe versions of `iter`, `iter_many` and `iter_combinations` on `Query` have identical signatures and implementations to their safe mutable versions.~~ ## Solution Remove them. ## Testing They don't...
# Objective When querying for a list of entities, `QueryManyIter` and `QuerySortedIter` call `D::set_archetype` and `F::set_archetype` with each item fetch (every `next()` call). Because the vast majority of queries do...
# Objective In current Bevy, it is very inconvenient to mutably retrieve a user-provided list of entities more than one element at a time. If the list contains any duplicate...