bevy/crates/bevy_ecs/src
Rob Parrett 5e1756954f Derive default for enums where possible (#5158)
# Objective

Fixes #5153

## Solution

Search for all enums and manually check if they have default impls that can use this new derive.

By my reckoning:

| enum | num |
|-|-|
| total | 159 |
| has default impl | 29 |
| default is unit variant | 23 |
2022-07-01 03:42:15 +00:00
..
entity Improve entity and component API docs (#4767) 2022-06-21 15:29:22 +00:00
query Fix rust 1.62 changes (#5154) 2022-06-30 19:24:28 +00:00
schedule remove unnecessary unsafe impl of Send+Sync for ParallelSystemContainer (#5137) 2022-06-29 15:44:33 +00:00
storage Directly copy moved Table components to the target location (#5056) 2022-06-27 16:52:26 +00:00
system Add ability to inspect entity's components (#5136) 2022-06-30 15:23:09 +00:00
world Add ability to inspect entity's components (#5136) 2022-06-30 15:23:09 +00:00
archetype.rs Mark mutable APIs under ECS storage as pub(crate) (#5065) 2022-06-21 20:35:26 +00:00
bundle.rs Add comparison methods to FilteredAccessSet (#4211) 2022-05-09 14:39:22 +00:00
change_detection.rs untyped APIs for components and resources (#4447) 2022-05-30 15:32:47 +00:00
component.rs Derive default for enums where possible (#5158) 2022-07-01 03:42:15 +00:00
event.rs Fix Events example link (#5126) 2022-06-28 16:37:36 +00:00
lib.rs Add global init and get accessors for all newtyped TaskPools (#2250) 2022-06-09 02:43:24 +00:00
reflect.rs bevy_reflect: put serialize into external ReflectSerialize type (#4782) 2022-06-20 17:18:58 +00:00