bevy icon indicating copy to clipboard operation
bevy copied to clipboard

implement DoubleEndedIterator for QueryManyIter

Open Victoronz opened this issue 1 year ago • 0 comments

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 implementing DoubleEndedIterator.

Changelog

Added DoubleEndedIterator implementation for QueryManyIter. Added the fetch_next_back method to QueryManyIter.

Victoronz avatar Jul 04 '24 12:07 Victoronz