Linux

Enum Linux 

Source
#[repr(u32)]
pub enum Linux {
Show 250 variants KeyReserved = 0, KeyEsc = 1, Key1 = 2, Key2 = 3, Key3 = 4, Key4 = 5, Key5 = 6, Key6 = 7, Key7 = 8, Key8 = 9, Key9 = 10, Key0 = 11, KeyMinus = 12, KeyEqual = 13, KeyBackspace = 14, KeyTab = 15, KeyQ = 16, KeyW = 17, KeyE = 18, KeyR = 19, KeyT = 20, KeyY = 21, KeyU = 22, KeyI = 23, KeyO = 24, KeyP = 25, KeyLeftbrace = 26, KeyRightbrace = 27, KeyEnter = 28, KeyLeftCtrl = 29, KeyA = 30, KeyS = 31, KeyD = 32, KeyF = 33, KeyG = 34, KeyH = 35, KeyJ = 36, KeyK = 37, KeyL = 38, KeySemicolon = 39, KeyApostrophe = 40, KeyGrave = 41, KeyLeftShift = 42, KeyBackslash = 43, KeyZ = 44, KeyX = 45, KeyC = 46, KeyV = 47, KeyB = 48, KeyN = 49, KeyM = 50, KeyComma = 51, KeyDot = 52, KeySlash = 53, KeyRightShift = 54, KeyKpAsterisk = 55, KeyLeftAlt = 56, KeySpace = 57, KeyCapsLock = 58, KeyF1 = 59, KeyF2 = 60, KeyF3 = 61, KeyF4 = 62, KeyF5 = 63, KeyF6 = 64, KeyF7 = 65, KeyF8 = 66, KeyF9 = 67, KeyF10 = 68, KeyNumlock = 69, KeyScrollLock = 70, KeyKp7 = 71, KeyKp8 = 72, KeyKp9 = 73, KeyKpMinus = 74, KeyKp4 = 75, KeyKp5 = 76, KeyKp6 = 77, KeyKpplus = 78, KeyKp1 = 79, KeyKp2 = 80, KeyKp3 = 81, KeyKp0 = 82, KeyKpDot = 83, Invalid = 84, KeyZenkakuhankaku = 85, Key102nd = 86, KeyF11 = 87, KeyF12 = 88, KeyRo = 89, KeyKatakana = 90, KeyHiragana = 91, KeyHenkan = 92, KeyKatakanahiragana = 93, KeyMuhenkan = 94, KeyKpJpComma = 95, KeyKpEnter = 96, KeyRightCtrl = 97, KeyKpslash = 98, KeySysrq = 99, KeyRightalt = 100, KeyLinefeed = 101, KeyHome = 102, KeyUp = 103, KeyPageup = 104, KeyLeft = 105, KeyRight = 106, KeyEnd = 107, KeyDown = 108, KeyPagedown = 109, KeyInsert = 110, KeyDelete = 111, KeyMacro = 112, KeyMute = 113, KeyVolumeDown = 114, KeyVolumeUp = 115, KeyPower = 116, KeyKpequal = 117, KeyKpplusminus = 118, KeyPause = 119, KeyScale = 120, KeyKpcomma = 121, KeyHanguel = 122, KeyHanja = 123, KeyYen = 124, KeyLeftMeta = 125, KeyRightmeta = 126, KeyCompose = 127, KeyStop = 128, KeyAgain = 129, KeyProps = 130, KeyUndo = 131, KeyFront = 132, KeyCopy = 133, KeyOpen = 134, KeyPaste = 135, KeyFind = 136, KeyCut = 137, KeyHelp = 138, KeyMenu = 139, KeyCalc = 140, KeySetup = 141, KeySleep = 142, KeyWakeup = 143, KeyFile = 144, KeySendfile = 145, KeyDeletefile = 146, KeyXfer = 147, KeyProg1 = 148, KeyProg2 = 149, KeyWww = 150, KeyMsdos = 151, KeyCoffee = 152, KeyRotateDisplay = 153, KeyCyclewindows = 154, KeyMail = 155, KeyBookmarks = 156, KeyComputer = 157, KeyBack = 158, KeyForward = 159, KeyClosecd = 160, KeyEjectcd = 161, KeyEjectclosecd = 162, KeyNextsong = 163, KeyPlaypause = 164, KeyPrevioussong = 165, KeyStopcd = 166, KeyRecord = 167, KeyRewind = 168, KeyPhone = 169, KeyIso = 170, KeyConfig = 171, KeyHomepage = 172, KeyRefresh = 173, KeyExit = 174, KeyMove = 175, KeyEdit = 176, KeyScrollup = 177, KeyScrolldown = 178, KeyKpleftparen = 179, KeyKprightparen = 180, KeyNew = 181, KeyRedo = 182, KeyF13 = 183, KeyF14 = 184, KeyF15 = 185, KeyF16 = 186, KeyF17 = 187, KeyF18 = 188, KeyF19 = 189, KeyF20 = 190, KeyF21 = 191, KeyF22 = 192, KeyF23 = 193, KeyF24 = 194, Invalid1 = 195, Invalid2 = 196, Invalid3 = 197, Invalid4 = 198, Invalid5 = 199, KeyPlaycd = 200, KeyPausecd = 201, KeyProg3 = 202, KeyProg4 = 203, KeyAllApplications = 204, KeySuspend = 205, KeyClose = 206, KeyPlay = 207, KeyFastforward = 208, KeyBassboost = 209, KeyPrint = 210, KeyHp = 211, KeyCamera = 212, KeySound = 213, KeyQuestion = 214, KeyEmail = 215, KeyChat = 216, KeySearch = 217, KeyConnect = 218, KeyFinance = 219, KeySport = 220, KeyShop = 221, KeyAlterase = 222, KeyCancel = 223, KeyBrightnessdown = 224, KeyBrightnessup = 225, KeyMedia = 226, KeySwitchvideomode = 227, KeyKbdillumtoggle = 228, KeyKbdillumdown = 229, KeyKbdillumup = 230, KeySend = 231, KeyReply = 232, KeyForwardmail = 233, KeySave = 234, KeyDocuments = 235, KeyBattery = 236, KeyBluetooth = 237, KeyWlan = 238, KeyUwb = 239, KeyUnknown = 240, KeyVideoNext = 241, KeyVideoPrev = 242, KeyBrightnessCycle = 243, KeyBrightnessAuto = 244, KeyDisplayOff = 245, KeyWwan = 246, KeyRfkill = 247, KeyMicmute = 248, KeyCount = 249,
}

Variants§

§

KeyReserved = 0

§

KeyEsc = 1

§

Key1 = 2

§

Key2 = 3

§

Key3 = 4

§

Key4 = 5

§

Key5 = 6

§

Key6 = 7

§

Key7 = 8

§

Key8 = 9

§

Key9 = 10

§

Key0 = 11

§

KeyMinus = 12

§

KeyEqual = 13

§

KeyBackspace = 14

§

KeyTab = 15

§

KeyQ = 16

§

KeyW = 17

§

KeyE = 18

§

KeyR = 19

§

KeyT = 20

§

KeyY = 21

§

KeyU = 22

§

KeyI = 23

§

KeyO = 24

§

KeyP = 25

§

KeyLeftbrace = 26

§

KeyRightbrace = 27

§

KeyEnter = 28

§

KeyLeftCtrl = 29

§

KeyA = 30

§

KeyS = 31

§

KeyD = 32

§

KeyF = 33

§

KeyG = 34

§

KeyH = 35

§

KeyJ = 36

§

KeyK = 37

§

KeyL = 38

§

KeySemicolon = 39

§

KeyApostrophe = 40

§

KeyGrave = 41

§

KeyLeftShift = 42

§

KeyBackslash = 43

§

KeyZ = 44

§

KeyX = 45

§

KeyC = 46

§

KeyV = 47

§

KeyB = 48

§

KeyN = 49

§

KeyM = 50

§

KeyComma = 51

§

KeyDot = 52

§

KeySlash = 53

§

KeyRightShift = 54

§

KeyKpAsterisk = 55

§

KeyLeftAlt = 56

§

KeySpace = 57

§

KeyCapsLock = 58

§

KeyF1 = 59

§

KeyF2 = 60

§

KeyF3 = 61

§

KeyF4 = 62

§

KeyF5 = 63

§

KeyF6 = 64

§

KeyF7 = 65

§

KeyF8 = 66

§

KeyF9 = 67

§

KeyF10 = 68

§

KeyNumlock = 69

§

KeyScrollLock = 70

§

KeyKp7 = 71

§

KeyKp8 = 72

§

KeyKp9 = 73

§

KeyKpMinus = 74

§

KeyKp4 = 75

§

KeyKp5 = 76

§

KeyKp6 = 77

§

KeyKpplus = 78

§

KeyKp1 = 79

§

KeyKp2 = 80

§

KeyKp3 = 81

§

KeyKp0 = 82

§

KeyKpDot = 83

§

Invalid = 84

§

KeyZenkakuhankaku = 85

§

Key102nd = 86

§

KeyF11 = 87

§

KeyF12 = 88

§

KeyRo = 89

§

KeyKatakana = 90

§

KeyHiragana = 91

§

KeyHenkan = 92

§

KeyKatakanahiragana = 93

§

KeyMuhenkan = 94

§

KeyKpJpComma = 95

§

KeyKpEnter = 96

§

KeyRightCtrl = 97

§

KeyKpslash = 98

§

KeySysrq = 99

§

KeyRightalt = 100

§

KeyLinefeed = 101

§

KeyHome = 102

§

KeyUp = 103

§

KeyPageup = 104

§

KeyLeft = 105

§

KeyRight = 106

§

KeyEnd = 107

§

KeyDown = 108

§

KeyPagedown = 109

§

KeyInsert = 110

§

KeyDelete = 111

§

KeyMacro = 112

§

KeyMute = 113

§

KeyVolumeDown = 114

§

KeyVolumeUp = 115

§

KeyPower = 116

§

KeyKpequal = 117

§

KeyKpplusminus = 118

§

KeyPause = 119

§

KeyScale = 120

§

KeyKpcomma = 121

§

KeyHanguel = 122

§

KeyHanja = 123

§

KeyYen = 124

§

KeyLeftMeta = 125

§

KeyRightmeta = 126

§

KeyCompose = 127

§

KeyStop = 128

§

KeyAgain = 129

§

KeyProps = 130

§

KeyUndo = 131

§

KeyFront = 132

§

KeyCopy = 133

§

KeyOpen = 134

§

KeyPaste = 135

§

KeyFind = 136

§

KeyCut = 137

§

KeyHelp = 138

§

KeyMenu = 139

§

KeyCalc = 140

§

KeySetup = 141

§

KeySleep = 142

§

KeyWakeup = 143

§

KeyFile = 144

§

KeySendfile = 145

§

KeyDeletefile = 146

§

KeyXfer = 147

§

KeyProg1 = 148

§

KeyProg2 = 149

§

KeyWww = 150

§

KeyMsdos = 151

§

KeyCoffee = 152

§

KeyRotateDisplay = 153

§

KeyCyclewindows = 154

§

KeyMail = 155

§

KeyBookmarks = 156

§

KeyComputer = 157

§

KeyBack = 158

§

KeyForward = 159

§

KeyClosecd = 160

§

KeyEjectcd = 161

§

KeyEjectclosecd = 162

§

KeyNextsong = 163

§

KeyPlaypause = 164

§

KeyPrevioussong = 165

§

KeyStopcd = 166

§

KeyRecord = 167

§

KeyRewind = 168

§

KeyPhone = 169

§

KeyIso = 170

§

KeyConfig = 171

§

KeyHomepage = 172

§

KeyRefresh = 173

§

KeyExit = 174

§

KeyMove = 175

§

KeyEdit = 176

§

KeyScrollup = 177

§

KeyScrolldown = 178

§

KeyKpleftparen = 179

§

KeyKprightparen = 180

§

KeyNew = 181

§

KeyRedo = 182

§

KeyF13 = 183

§

KeyF14 = 184

§

KeyF15 = 185

§

KeyF16 = 186

§

KeyF17 = 187

§

KeyF18 = 188

§

KeyF19 = 189

§

KeyF20 = 190

§

KeyF21 = 191

§

KeyF22 = 192

§

KeyF23 = 193

§

KeyF24 = 194

§

Invalid1 = 195

§

Invalid2 = 196

§

Invalid3 = 197

§

Invalid4 = 198

§

Invalid5 = 199

§

KeyPlaycd = 200

§

KeyPausecd = 201

§

KeyProg3 = 202

§

KeyProg4 = 203

§

KeyAllApplications = 204

§

KeySuspend = 205

§

KeyClose = 206

§

KeyPlay = 207

§

KeyFastforward = 208

§

KeyBassboost = 209

§

KeyPrint = 210

§

KeyHp = 211

§

KeyCamera = 212

§

KeySound = 213

§

KeyQuestion = 214

§

KeyEmail = 215

§

KeyChat = 216

§

KeySearch = 217

§

KeyConnect = 218

§

KeyFinance = 219

§

KeySport = 220

§

KeyShop = 221

§

KeyAlterase = 222

§

KeyCancel = 223

§

KeyBrightnessdown = 224

§

KeyBrightnessup = 225

§

KeyMedia = 226

§

KeySwitchvideomode = 227

§

KeyKbdillumtoggle = 228

§

KeyKbdillumdown = 229

§

KeyKbdillumup = 230

§

KeySend = 231

§

KeyReply = 232

§

KeyForwardmail = 233

§

KeySave = 234

§

KeyDocuments = 235

§

KeyBattery = 236

§

KeyBluetooth = 237

§

KeyWlan = 238

§

KeyUwb = 239

§

KeyUnknown = 240

§

KeyVideoNext = 241

§

KeyVideoPrev = 242

§

KeyBrightnessCycle = 243

§

KeyBrightnessAuto = 244

§

KeyDisplayOff = 245

§

KeyWwan = 246

§

KeyRfkill = 247

§

KeyMicmute = 248

§

KeyCount = 249

Trait Implementations§

Source§

impl Clone for Linux

Source§

fn clone(&self) -> Linux

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Linux

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Linux

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Hash for Linux

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Linux

Source§

fn eq(&self, other: &Linux) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Linux

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Linux> for Windows

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: Linux) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Windows> for Linux

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: Windows) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for Linux

Source§

type Error = TryFromPrimitiveError<Linux>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for Linux

Source§

impl Copy for Linux

Source§

impl Eq for Linux

Source§

impl StructuralPartialEq for Linux

Auto Trait Implementations§

§

impl Freeze for Linux

§

impl RefUnwindSafe for Linux

§

impl Send for Linux

§

impl Sync for Linux

§

impl Unpin for Linux

§

impl UnwindSafe for Linux

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,