bevy/crates/bevy_app/src
Hennadii Chernyshchyk 0c831d2caa Add Default for all schedule labels (#18731)
# Objective

In `bevy_enhanced_input`, I'm trying to associate `Actions` with a
schedule. I can do this via an associated type on a trait, but there's
no way to construct the associated label except by requiring a `Default`
implementation. However, Bevy labels don't implement `Default`.

## Solution

Add `Default` to all built-in labels. I think it should be useful in
general.
2025-04-09 00:21:40 +02:00
..
app.rs Unify and simplify command and system error handling (#18351) 2025-03-18 21:18:06 +01:00
lib.rs Add no_std support to bevy (#17955) 2025-03-07 03:39:46 +00:00
main_schedule.rs Add Default for all schedule labels (#18731) 2025-04-09 00:21:40 +02:00
panic_handler.rs Support for non-browser wasm (#17499) 2025-03-07 21:22:28 +00:00
plugin_group.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
plugin.rs Update downcast-rs to version 2 (#17223) 2025-01-07 21:33:40 +00:00
schedule_runner.rs Add sleep based on spin to bevy_platform_support (#18633) 2025-04-03 21:45:42 +02:00
sub_app.rs Unify and simplify command and system error handling (#18351) 2025-03-18 21:18:06 +01:00
task_pool_plugin.rs Support for non-browser wasm (#17499) 2025-03-07 21:22:28 +00:00
terminal_ctrl_c_handler.rs Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00