muda/.changes/menu-item-kind.md
Amr Bashir 20c05ceae6
refactor!: add MenuItemKind enum (#79)
* refactor!: add `MenuItemKind` enum

* remove as_any
2023-07-27 19:58:51 +03:00

6 lines
202 B
Markdown

---
"muda": "minor"
---
Removed `MenuItemType` enum and replaced with `MenuItemKind` enum. `Menu::items` and `Submenu::items` will now return `Vec<MenuItemKind>` instead of `Vec<Box<dyn MenuItemExt>>`