Add methods iter_resources and iter_resources_mut#12829
Add methods iter_resources and iter_resources_mut#12829james7132 merged 8 commits intobevyengine:mainfrom
iter_resources and iter_resources_mut#12829Conversation
|
@coreh I'd like to get your review on this |
|
Clean and useful. I really want this for bevy_dev_tools, and I think it's a good building block regardless. |
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
BD103
left a comment
There was a problem hiding this comment.
Good implementation and documentation 👍
|
Waiting a day or two to see if we can get another set of eyes on this :) |
pablo-lua
left a comment
There was a problem hiding this comment.
I'm happy with the state of this and the unsafe parts looks pretty much straightforward, but I think we should probably add safety comments in the docs examples, just so we can show our unsafe parts in examples.
btw, there's a typo too.
Co-authored-by: James Liu <contact@jamessliu.com> Co-authored-by: Pablo Reinhardt <126117294+pablo-lua@users.noreply.github.com>
Co-authored-by: James Liu <contact@jamessliu.com>
# Objective - Closes bevyengine#12019 - Related to bevyengine#4955 - Useful for dev_tools and networking ## Solution - Create `World::iter_resources()` and `World::iter_resources_mut()` --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: James Liu <contact@jamessliu.com> Co-authored-by: Pablo Reinhardt <126117294+pablo-lua@users.noreply.github.com>
|
Thank you to everyone involved with the authoring or reviewing of this PR! This work is relatively important and needs release notes! Head over to bevyengine/bevy-website#1296 if you'd like to help out. |
Objective
World::iter_resources()andWorld::iter_resources_mut()methods #12019Solution
World::iter_resources()andWorld::iter_resources_mut()