bevy/crates/bevy_macro_utils/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
..
attrs.rs Fix beta clippy lints (#7154) 2023-01-11 09:51:22 +00:00
lib.rs Simplify world schedule methods (#8403) 2023-04-19 19:48:35 +00:00
shape.rs Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
symbol.rs Implement and require #[derive(Component)] on all component structs (#2254) 2021-10-03 19:23:44 +00:00