mirror of
https://github.com/bevyengine/bevy
synced 2024-12-30 15:03:23 +00:00
3221e569e0
# Objective Rust 1.63 resolved [an issue](https://github.com/rust-lang/rust/issues/83701) that prevents you from combining explicit generic arguments with `impl Trait` arguments. Now, we no longer need to use dynamic dispatch to work around this. ## Migration Guide The methods `Schedule::get_stage` and `get_stage_mut` now accept `impl StageLabel` instead of `&dyn StageLabel`. ### Before ```rust let stage = schedule.get_stage_mut::<SystemStage>(&MyLabel)?; ``` ### After ```rust let stage = schedule.get_stage_mut::<SystemStage>(MyLabel)?; ``` |
||
---|---|---|
.. | ||
executor.rs | ||
executor_parallel.rs | ||
graph_utils.rs | ||
label.rs | ||
mod.rs | ||
run_criteria.rs | ||
stage.rs | ||
state.rs | ||
system_container.rs | ||
system_descriptor.rs | ||
system_set.rs |