bevy/crates/bevy_ecs/src/system
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
..
commands Rewrite part of Commands rustdoc (#11141) 2024-03-05 09:52:48 +00:00
adapter_system.rs bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn (#11861) 2024-02-22 00:04:38 +00:00
combinator.rs bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn (#11861) 2024-02-22 00:04:38 +00:00
exclusive_function_system.rs Component Lifecycle Hooks and a Deferred World (#10756) 2024-03-01 14:59:22 +00:00
exclusive_system_param.rs impl ExclusiveSystemParam for PhantomData (#11153) 2024-01-01 16:02:21 +00:00
function_system.rs bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn (#11861) 2024-02-22 00:04:38 +00:00
mod.rs Remove APIs deprecated in 0.13 (#11974) 2024-02-19 19:04:47 +00:00
query.rs fix some typos (#12038) 2024-02-22 18:55:22 +00:00
system_name.rs impl ExclusiveSystemParam for SystemName (#11163) 2024-01-01 17:08:29 +00:00
system_param.rs Remove initialize_resource<T> and friends (#12307) 2024-03-05 16:09:13 +00:00
system_registry.rs bevy_ecs: Fix up docs for World::run_system and World::run_system_with_input (#12289) 2024-03-04 21:59:24 +00:00
system.rs Immediately apply deferred system params in System::run (#11823) 2024-02-24 14:01:06 +00:00