Enum makepad_platform::MacosMenu
source · 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§
source§impl PartialEq<MacosMenu> for MacosMenu
impl PartialEq<MacosMenu> for MacosMenu
impl StructuralPartialEq for MacosMenu
Auto Trait Implementations§
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> 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