bevy/crates/bevy_ecs/src/query
Boxy be19c696bd Add missing ReadOnly = Self bound (#5462)
# Objective
`ReadOnlyWorldQuery` should have required `Self::ReadOnly = Self` so that calling `.iter()` on a readonly query is equivelent to calling `iter_mut()`.

## Solution

add `ReadOnly = Self` to the definition of `ReadOnlyWorldQuery`

---

## Changelog

ReadOnlyWorldQuery's `ReadOnly` assoc type is now always equal to `Self`

## Migration Guide

Make `Self::ReadOnly = Self` hold
2022-07-27 06:49:36 +00:00
..
access.rs Fix various typos (#5417) 2022-07-21 20:46:54 +00:00
fetch.rs Add missing ReadOnly = Self bound (#5462) 2022-07-27 06:49:36 +00:00
filter.rs Update codebase to use IntoIterator where possible. (#5269) 2022-07-11 15:28:50 +00:00
iter.rs Add missing ReadOnly = Self bound (#5462) 2022-07-27 06:49:36 +00:00
mod.rs remove QF generics from all Query/State methods and types (#5170) 2022-07-19 00:45:00 +00:00
state.rs Fix various typos (#5417) 2022-07-21 20:46:54 +00:00