bevy/crates/bevy_state/src
Hennadii Chernyshchyk d82c359a5a
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-06 16:44:33 +00:00
..
state Add Default for all schedule labels (#18731) 2025-04-06 16:44:33 +00:00
app.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
commands.rs Add no_std support to bevy_state (#17028) 2024-12-29 23:28:18 +00:00
condition.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
lib.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
reflect.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
state_scoped_events.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
state_scoped.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00