pub enum Menu {
Main {
items: Vec<Menu>,
},
Item {
name: String,
command: CommandId,
},
Sub {
name: String,
items: Vec<Menu>,
},
Line,
}
Expand description
Represents a single menu, as well as all menus (recursively).
Variants
Main
Item
Sub
Line
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Menu
impl UnwindSafe for Menu
Blanket Implementations
Mutably borrows from an owned value. Read more