bevy/crates/bevy_app/src
JoJoJet 9fd867aeba
Simplify world schedule methods (#8403)
# 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.
2023-04-19 19:48:35 +00:00
..
app.rs Simplify world schedule methods (#8403) 2023-04-19 19:48:35 +00:00
ci_testing.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
lib.rs Suppress the clippy::type_complexity lint (#8313) 2023-04-06 21:27:36 +00:00
main_schedule.rs Simplify world schedule methods (#8403) 2023-04-19 19:48:35 +00:00
plugin_group.rs Unique plugin (#6411) 2022-10-31 16:12:19 +00:00
plugin.rs Mention uniqueness check in plugin name method docs (#7554) 2023-02-07 22:40:22 +00:00
schedule_runner.rs Rename schedule v3 to schedule (#7519) 2023-02-06 18:44:40 +00:00