bevy/crates/bevy_ui/src/widget
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
..
button.rs add #[reflect(Default)] to create default value for reflected types (#3733) 2022-05-03 19:20:13 +00:00
image.rs Derive default for enums where possible (#5158) 2022-07-01 03:42:15 +00:00
mod.rs Partially document bevy_ui (#3526) 2022-01-07 22:20:34 +00:00
text.rs Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00