bevy/crates/bevy_asset/src
vil'mo b30ee2d051
Disallow requesting write resource access in Queries (#17116)
Related to https://github.com/bevyengine/bevy/pull/16843

Since `WorldQuery::Fetch` is `Clone`, it can't store mutable references
to resources, so it doesn't make sense to mutably access resources. In
that sense, it is hard to find usecases of mutably accessing resources
and to clearly define, what mutably accessing resources would mean, so
it's been decided to disallow write resource access.
Also changed documentation of safety requirements of
`WorldQuery::init_fetch` and `WorldQuery::fetch` to clearly state to the
caller, what safety invariants they need to uphold.
2025-01-06 19:04:26 +00:00
..
io Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
processor Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
server Fix duplicate asset loader registration warning (#17105) 2025-01-06 18:56:05 +00:00
asset_changed.rs Disallow requesting write resource access in Queries (#17116) 2025-01-06 19:04:26 +00:00
assets.rs Add AssetChanged query filter (#16810) 2024-12-17 18:57: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 Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
handle.rs Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00
id.rs Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00
lib.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
loader_builders.rs Remove the meta field from LoadedAsset and ErasedLoadedAsset. (#15487) 2024-12-13 20:40:02 +00:00
loader.rs Move futures.rs, ConditionalSend and BoxedFuture types to bevy_tasks (#16951) 2024-12-29 19:29:53 +00:00
meta.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
path.rs Do not lowercase asset file extensions (#17065) 2025-01-01 00:42:56 +00:00
reflect.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
render_asset.rs Split off bevy_image from bevy_render (#15650) 2024-10-04 20:16:47 +00:00
saver.rs Move futures.rs, ConditionalSend and BoxedFuture types to bevy_tasks (#16951) 2024-12-29 19:29:53 +00:00
transformer.rs Move futures.rs, ConditionalSend and BoxedFuture types to bevy_tasks (#16951) 2024-12-29 19:29:53 +00:00