Make `HierarchyQueryExt` work with `QueryState`
Open
C-Usability
D-Modest
S-Ready-For-Implementation
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## What problem does this solve or what need does it fill?
For exclusive systems, getting multiple queries with `query_state` is easy and you can pass them world access. However, getting an actual `Query`, where the `HierarchyQueryExt` trait is implemented, only works over `DeferredWorld`, which can easily result in a `use of borrowed value here` error.
## What solution would you like?
Add the possibility to use methods from `HierarchyQueryExt` with `QueryState` and `&mut World`
## What alternative(s) have you considered?
#14869
Contributor guide
Assessment
This issue has not been assessed yet.