bevy/crates/bevy_ecs/src
Nicola Papale 6c06fc5b7c Add ExactSizeIterator implementation for QueryCombinatonIter (#5148)
Following https://github.com/bevyengine/bevy/pull/5124 I decided to add the `ExactSizeIterator` impl for `QueryCombinationIter`.

Also:
- Clean up the tests for `size_hint` and `len` for both the normal `QueryIter` and `QueryCombinationIter`.
- Add tests to `QueryCombinationIter` when it shouldn't be `ExactSizeIterator`

---

## Changelog

- Added `ExactSizeIterator` implementation for `QueryCombinatonIter`
2022-07-13 16:08:48 +00:00
..
entity Update codebase to use IntoIterator where possible. (#5269) 2022-07-11 15:28:50 +00:00
query Add ExactSizeIterator implementation for QueryCombinatonIter (#5148) 2022-07-13 16:08:48 +00:00
schedule Update codebase to use IntoIterator where possible. (#5269) 2022-07-11 15:28:50 +00:00
storage Update codebase to use IntoIterator where possible. (#5269) 2022-07-11 15:28:50 +00:00
system Document exotic patterns for Commands and Events (#4840) 2022-07-13 14:40:52 +00:00
world Fix typo in Word::get_by_id docs (#5246) 2022-07-07 15:25:17 +00:00
archetype.rs add more SAFETY comments and lint for missing ones in bevy_ecs (#4835) 2022-07-04 14:44:24 +00:00
bundle.rs add more SAFETY comments and lint for missing ones in bevy_ecs (#4835) 2022-07-04 14:44:24 +00:00
change_detection.rs Add reflection for resources (#5175) 2022-07-04 13:04:20 +00:00
component.rs add more SAFETY comments and lint for missing ones in bevy_ecs (#4835) 2022-07-04 14:44:24 +00:00
event.rs Document exotic patterns for Commands and Events (#4840) 2022-07-13 14:40:52 +00:00
lib.rs add more SAFETY comments and lint for missing ones in bevy_ecs (#4835) 2022-07-04 14:44:24 +00:00
reflect.rs Add apply_or_insert functions to reflected component and resources (#5201) 2022-07-11 14:11:24 +00:00