bevy/crates/bevy_ecs/src/world
Federico Rinaldi 9c78128e8f
Rename Q type parameter to D when referring to WorldQueryData (#10782)
# Objective

Since #10776 split `WorldQuery` to `WorldQueryData` and
`WorldQueryFilter`, it should be clear that the query is actually
composed of two parts. It is not factually correct to call "query" only
the data part. Therefore I suggest to rename the `Q` parameter to `D` in
`Query` and related items.

As far as I know, there shouldn't be breaking changes from renaming
generic type parameters.

## Solution

I used a combination of rust-analyzer go to reference and `Ctrl-F`ing
various patterns to catch as many cases as possible. Hopefully I got
them all. Feel free to check if you're concerned of me having missed
some.

## Notes

This and #10779 have many lines in common, so merging one will cause a
lot of merge conflicts to the other.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2023-12-13 18:50:46 +00:00
..
entity_ref.rs Improve EntityWorldMut.remove, retain and despawn docs by linking to more detail (#10943) 2023-12-12 19:27:11 +00:00
error.rs Replace all labels with interned labels (#7762) 2023-10-25 21:39:23 +00:00
identifier.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
mod.rs Rename Q type parameter to D when referring to WorldQueryData (#10782) 2023-12-13 18:50:46 +00:00
spawn_batch.rs Fix some nightly warnings (#9672) 2023-09-02 18:35:06 +00:00
unsafe_world_cell.rs Fix soundness of UnsafeWorldCell usage example (#10941) 2023-12-13 00:55:30 +00:00
world_cell.rs Updates for rust 1.73 (#10035) 2023-10-06 00:31:10 +00:00