pub enum MacosMenu {
Main {
items: Vec<MacosMenu>,
},
Item {
name: String,
command: LiveId,
shift: bool,
key: KeyCode,
enabled: bool,
},
Sub {
name: String,
items: Vec<MacosMenu>,
},
Line,
}
Variants§
Trait Implementations§
impl StructuralPartialEq for MacosMenu
Auto Trait Implementations§
impl Freeze for MacosMenu
impl RefUnwindSafe for MacosMenu
impl Send for MacosMenu
impl Sync for MacosMenu
impl Unpin for MacosMenu
impl UnwindSafe for MacosMenu
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more