Enum SystemControlKey
#[non_exhaustive]#[repr(u8)]pub enum SystemControlKey {
Show 41 variants
PowerDown = 129,
Sleep = 130,
WakeUp = 131,
ContextMenu = 132,
MainMenu = 133,
AppMenu = 134,
MenuHelp = 135,
MenuExit = 136,
MenuSelect = 137,
MenuRight = 138,
MenuLeft = 139,
MenuUp = 140,
MenuDown = 141,
ColdRestart = 142,
WarmRestart = 143,
DpadUp = 144,
DpadDown = 145,
DpadRight = 146,
DpadLeft = 147,
SystemFunctionShift = 151,
SystemFunctionShiftLock = 152,
SystemDismissNotification = 154,
SystemDoNotDisturb = 155,
Dock = 160,
Undock = 161,
Setup = 162,
Break = 163,
DebuggerBreak = 164,
ApplicationBreak = 165,
ApplicationDebuggerBreak = 166,
SpeakerMute = 167,
Hibernate = 168,
DisplayInvert = 176,
DisplayInternal = 177,
DisplayExternal = 178,
DisplayBoth = 179,
DisplayDual = 180,
DisplayToggleInternalExternal = 181,
DisplaySwapPrimarySecondary = 182,
DisplayLcdAutoscale = 183,
Reserved = 184,
}
Expand description
System control usage ids to use with SystemControlReport
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PowerDown = 129
Sleep = 130
WakeUp = 131
ContextMenu = 132
MainMenu = 133
AppMenu = 134
MenuHelp = 135
MenuExit = 136
MenuSelect = 137
MenuRight = 138
MenuLeft = 139
MenuUp = 140
MenuDown = 141
ColdRestart = 142
WarmRestart = 143
DpadUp = 144
DpadDown = 145
DpadRight = 146
DpadLeft = 147
SystemFunctionShift = 151
SystemFunctionShiftLock = 152
SystemDismissNotification = 154
SystemDoNotDisturb = 155
Dock = 160
Undock = 161
Setup = 162
Break = 163
DebuggerBreak = 164
ApplicationBreak = 165
ApplicationDebuggerBreak = 166
SpeakerMute = 167
Hibernate = 168
DisplayInvert = 176
DisplayInternal = 177
DisplayExternal = 178
DisplayBoth = 179
DisplayDual = 180
DisplayToggleInternalExternal = 181
DisplaySwapPrimarySecondary = 182
DisplayLcdAutoscale = 183
Reserved = 184
Trait Implementations§
§impl Clone for SystemControlKey
impl Clone for SystemControlKey
§fn clone(&self) -> SystemControlKey
fn clone(&self) -> SystemControlKey
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SystemControlKey
impl Debug for SystemControlKey
§impl Format for SystemControlKey
impl Format for SystemControlKey
§impl From<u8> for SystemControlKey
impl From<u8> for SystemControlKey
§fn from(k: u8) -> SystemControlKey
fn from(k: u8) -> SystemControlKey
Converts to this type from the input type.
§impl PartialEq for SystemControlKey
impl PartialEq for SystemControlKey
impl Copy for SystemControlKey
impl StructuralPartialEq for SystemControlKey
Auto Trait Implementations§
impl Freeze for SystemControlKey
impl RefUnwindSafe for SystemControlKey
impl Send for SystemControlKey
impl Sync for SystemControlKey
impl Unpin for SystemControlKey
impl UnwindSafe for SystemControlKey
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