pub enum PlatformProvidedMenuItemType {
Show 19 variants
About,
Quit,
ServicesSubmenu,
Hide,
HideOtherApplications,
ShowAllApplications,
StartSpeaking,
StopSpeaking,
ToggleFullScreen,
MinimizeWindow,
ZoomWindow,
ArrangeWindowsInFront,
Undo,
Redo,
Cut,
Copy,
Paste,
SelectAll,
Delete,
}Expand description
The list of possible platform provided, prebuilt menus for use in a PlatformMenuBar.
These are menus that the platform typically provides that cannot be reproduced in the framework without platform access, or the platform’s own commands for the focused view.
Variants§
About
The system provided “About” menu item.
Quit
The system provided “Quit” menu item.
The system provided “Services” submenu.
Hide
The system provided “Hide” menu item.
HideOtherApplications
The system provided “Hide Others” menu item.
ShowAllApplications
The system provided “Show All” menu item.
StartSpeaking
The system provided “Start Dictation…” menu item.
StopSpeaking
The system provided “Stop Dictation…” menu item.
ToggleFullScreen
The system provided “Enter Full Screen” menu item.
MinimizeWindow
The system provided “Minimize” menu item.
ZoomWindow
The system provided “Zoom” menu item.
ArrangeWindowsInFront
The system provided “Bring To Front” menu item.
Undo
The system provided “Undo” menu item, sent to the focused view.
Redo
The system provided “Redo” menu item, sent to the focused view.
Cut
The system provided “Cut” menu item, sent to the focused view.
Copy
The system provided “Copy” menu item, sent to the focused view.
Paste
The system provided “Paste” menu item, sent to the focused view.
SelectAll
The system provided “Select All” menu item, sent to the focused view.
Delete
The system provided “Delete” menu item, sent to the focused view.
Trait Implementations§
Source§impl Clone for PlatformProvidedMenuItemType
impl Clone for PlatformProvidedMenuItemType
impl Copy for PlatformProvidedMenuItemType
Source§impl Debug for PlatformProvidedMenuItemType
impl Debug for PlatformProvidedMenuItemType
impl Eq for PlatformProvidedMenuItemType
Source§impl Hash for PlatformProvidedMenuItemType
impl Hash for PlatformProvidedMenuItemType
impl StructuralPartialEq for PlatformProvidedMenuItemType
Auto Trait Implementations§
impl Forget for PlatformProvidedMenuItemType
impl Freeze for PlatformProvidedMenuItemType
impl Move for PlatformProvidedMenuItemType
impl RefUnwindSafe for PlatformProvidedMenuItemType
impl Send for PlatformProvidedMenuItemType
impl Sync for PlatformProvidedMenuItemType
impl Unpin for PlatformProvidedMenuItemType
impl UnsafeUnpin for PlatformProvidedMenuItemType
impl UnwindSafe for PlatformProvidedMenuItemType
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.