bevy/crates/bevy_asset/src
couyit 03af547c28
Move Item and fetch to QueryData from WorldQuery (#17679)
# Objective

Fixes #17662

## Solution

Moved `Item` and `fetch` from `WorldQuery` to `QueryData`, and adjusted
their implementations accordingly.

Currently, documentation related to `fetch` is written under
`WorldQuery`. It would be more appropriate to move it to the `QueryData`
documentation for clarity.

I am not very experienced with making contributions. If there are any
mistakes or areas for improvement, I would appreciate any suggestions
you may have.

## Migration Guide

The `WorldQuery::Item` type and `WorldQuery::fetch` method have been
moved to `QueryData`, as they were not useful for `QueryFilter` types.

---------

Co-authored-by: Chris Russell <8494645+chescock@users.noreply.github.com>
2025-02-05 18:46:18 +00:00
..
io Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
processor Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
server Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
asset_changed.rs Move Item and fetch to QueryData from WorldQuery (#17679) 2025-02-05 18:46:18 +00:00
assets.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
direct_access_ext.rs Add methods to directly load assets from World (#12023) 2024-02-27 00:28:26 +00:00
event.rs fix: add reflect to SceneInstanceReady and other observers/events (#16018) 2024-10-20 13:51:41 +00:00
folder.rs Switch bevy_asset to core::prelude (#17442) 2025-01-20 04:14:48 +00:00
handle.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
id.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
lib.rs Cold Specialization (#17567) 2025-02-05 18:31:20 +00:00
loader_builders.rs Switch bevy_asset to core::prelude (#17442) 2025-01-20 04:14:48 +00:00
loader.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
meta.rs Switch bevy_asset to core::prelude (#17442) 2025-01-20 04:14:48 +00:00
path.rs Switch bevy_asset to core::prelude (#17442) 2025-01-20 04:14:48 +00:00
reflect.rs Switch bevy_asset to core::prelude (#17442) 2025-01-20 04:14:48 +00:00
render_asset.rs Split off bevy_image from bevy_render (#15650) 2024-10-04 20:16:47 +00:00
saver.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
transformer.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00