#[repr(u8)]pub enum SystemCommand {
Quit = 0,
Undo = 1,
Redo = 2,
Cut = 3,
Copy = 4,
Paste = 5,
SelectAll = 6,
}Expand description
The commands the system’s own menus and text fields take shortcuts for, which an app’s menus leave alone.
Variants§
Implementations§
Source§impl SystemCommand
impl SystemCommand
Trait Implementations§
Source§impl Clone for SystemCommand
impl Clone for SystemCommand
Source§fn clone(&self) -> SystemCommand
fn clone(&self) -> SystemCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemCommand
Source§impl Debug for SystemCommand
impl Debug for SystemCommand
impl Eq for SystemCommand
Source§impl PartialEq for SystemCommand
impl PartialEq for SystemCommand
impl StructuralPartialEq for SystemCommand
Auto Trait Implementations§
impl Freeze for SystemCommand
impl RefUnwindSafe for SystemCommand
impl Send for SystemCommand
impl Sync for SystemCommand
impl Unpin for SystemCommand
impl UnsafeUnpin for SystemCommand
impl UnwindSafe for SystemCommand
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