mirror of
https://github.com/bevyengine/bevy
synced 2024-12-03 09:59:15 +00:00
959f3b1186
# Objective - Allows conversion of mutable queries to immutable queries. - Fixes #4606 ## Solution - Add `to_readonly` method on `Query`, which uses `QueryState::as_readonly` - `AsRef` is not feasible because creation of new queries is needed. --- ## Changelog ### Added - Allows conversion of mutable queries to immutable queries using `Query::to_readonly`. |
||
---|---|---|
.. | ||
ui | ||
ui.rs |