mirror of
https://github.com/bevyengine/bevy
synced 2024-12-27 13:33:08 +00:00
9fd867aeba
# Objective Methods for interacting with world schedules currently have two variants: one that takes `impl ScheduleLabel` and one that takes `&dyn ScheduleLabel`. Operations such as `run_schedule` or `schedule_scope` only use the label by reference, so there is little reason to have an owned variant of these functions. ## Solution Decrease maintenance burden by merging the `ref` variants of these functions with the owned variants. --- ## Changelog - Deprecated `World::run_schedule_ref`. It is now redundant, since `World::run_schedule` can take values by reference. ## Migration Guide The method `World::run_schedule_ref` has been deprecated, and will be removed in the next version of Bevy. Use `run_schedule` instead. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |