bevy/crates/bevy_asset/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
..
diagnostic Cleanups in diagnostics (#3871) 2022-06-20 17:02:25 +00:00
io Add file metadata to AssetIo (#2123) 2022-05-02 18:04:47 +00:00
asset_server.rs Add reload_asset method to AssetServer. (#5106) 2022-06-26 21:45:04 +00:00
assets.rs Enforce type safe usage of Handle::get (#4794) 2022-05-30 16:59:44 +00:00
debug_asset_server.rs Add global init and get accessors for all newtyped TaskPools (#2250) 2022-06-09 02:43:24 +00:00
filesystem_watcher.rs Bump notify to 5.0.0-pre.11 (#2564) 2021-07-29 23:56:16 +00:00
handle.rs Derive default for enums where possible (#5158) 2022-07-01 03:42:15 +00:00
info.rs [assets] set LoadState properly and more testing! (#2226) 2021-06-08 02:46:44 +00:00
lib.rs Add global init and get accessors for all newtyped TaskPools (#2250) 2022-06-09 02:43:24 +00:00
loader.rs Add global init and get accessors for all newtyped TaskPools (#2250) 2022-06-09 02:43:24 +00:00
path.rs bevy_reflect: put serialize into external ReflectSerialize type (#4782) 2022-06-20 17:18:58 +00:00