bevy/crates/bevy_ecs/src/system
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
..
commands Add a doc note about despawn footgun (#10889) 2023-12-12 19:44:05 +00:00
adapter_system.rs Replace all labels with interned labels (#7762) 2023-10-25 21:39:23 +00:00
combinator.rs Replace all labels with interned labels (#7762) 2023-10-25 21:39:23 +00:00
exclusive_function_system.rs Replace all labels with interned labels (#7762) 2023-10-25 21:39:23 +00:00
exclusive_system_param.rs Rename Q type parameter to D when referring to WorldQueryData (#10782) 2023-12-13 18:50:46 +00:00
function_system.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
mod.rs Add a couple assertions for system types (#10893) 2023-12-06 20:35:46 +00:00
query.rs Rename Q type parameter to D when referring to WorldQueryData (#10782) 2023-12-13 18:50:46 +00:00
system_param.rs Rename Q type parameter to D when referring to WorldQueryData (#10782) 2023-12-13 18:50:46 +00:00
system_registry.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
system.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00