bevy/crates/bevy_ecs/src/world
James Liu ab6a5cac9f
Remove initialize_resource<T> and friends (#12307)
# Objective
`initialize_resource<T>` and it's non-send equivalent is only used in
two locations each. Fix #6285.

## Solution
Remove them, replace their calls with their internals. Cut down on a bit
of generic codegen.

This does mean that `initialize_resource_internal` is now `pub(crate)`,
but that's likely OK given that only one variant will remain once
NonSend resources are removed from the World.
2024-03-05 16:09:13 +00:00
..
command_queue.rs Move commands module into bevy::ecs::world (#12234) 2024-03-02 23:13:45 +00:00
deferred_world.rs remove repetitive code (#12270) 2024-03-03 07:58:22 +00:00
entity_ref.rs Component Lifecycle Hooks and a Deferred World (#10756) 2024-03-01 14:59:22 +00:00
error.rs Replace all labels with interned labels (#7762) 2023-10-25 21:39:23 +00:00
identifier.rs impl ExclusiveSystemParam for WorldId (#11164) 2024-01-01 15:59:53 +00:00
mod.rs Remove initialize_resource<T> and friends (#12307) 2024-03-05 16:09:13 +00:00
spawn_batch.rs Component Lifecycle Hooks and a Deferred World (#10756) 2024-03-01 14:59:22 +00:00
unsafe_world_cell.rs Remove ComponentStorage and associated types (#12311) 2024-03-05 15:54:52 +00:00
world_cell.rs remove repetitive code (#12270) 2024-03-03 07:58:22 +00:00