Enum simics_api_sys::bindings::sim_key_t

source ·
#[repr(u32)]
pub enum sim_key_t {
Show 127 variants SK_ILLEGAL = 0, SK_ESC = 1, SK_F1 = 2, SK_F2 = 3, SK_F3 = 4, SK_F4 = 5, SK_F5 = 6, SK_F6 = 7, SK_F7 = 8, SK_F8 = 9, SK_F9 = 10, SK_F10 = 11, SK_F11 = 12, SK_F12 = 13, SK_PRNT_SCRN = 14, SK_SCROLL_LOCK = 15, SK_NUM_LOCK = 16, SK_CAPS_LOCK = 17, SK_0 = 18, SK_1 = 19, SK_2 = 20, SK_3 = 21, SK_4 = 22, SK_5 = 23, SK_6 = 24, SK_7 = 25, SK_8 = 26, SK_9 = 27, SK_A = 28, SK_B = 29, SK_C = 30, SK_D = 31, SK_E = 32, SK_F = 33, SK_G = 34, SK_H = 35, SK_I = 36, SK_J = 37, SK_K = 38, SK_L = 39, SK_M = 40, SK_N = 41, SK_O = 42, SK_P = 43, SK_Q = 44, SK_R = 45, SK_S = 46, SK_T = 47, SK_U = 48, SK_V = 49, SK_W = 50, SK_X = 51, SK_Y = 52, SK_Z = 53, SK_APOSTROPHE = 54, SK_COMMA = 55, SK_PERIOD = 56, SK_SEMICOLON = 57, SK_EQUAL = 58, SK_SLASH = 59, SK_BACKSLASH = 60, SK_SPACE = 61, SK_LEFT_BRACKET = 62, SK_RIGHT_BRACKET = 63, SK_MINUS = 64, SK_GRAVE = 65, SK_TAB = 66, SK_ENTER = 67, SK_BACKSPACE = 68, SK_CTRL_L = 69, SK_CTRL_R = 70, SK_SHIFT_L = 71, SK_SHIFT_R = 72, SK_ALT_L = 73, SK_ALT_R = 74, SK_GR_DIVIDE = 75, SK_GR_MULTIPLY = 76, SK_GR_MINUS = 77, SK_GR_PLUS = 78, SK_GR_ENTER = 79, SK_GR_INSERT = 80, SK_GR_HOME = 81, SK_GR_PG_UP = 82, SK_GR_DELETE = 83, SK_GR_END = 84, SK_GR_PG_DOWN = 85, SK_GR_UP = 86, SK_GR_DOWN = 87, SK_GR_LEFT = 88, SK_GR_RIGHT = 89, SK_KP_HOME = 90, SK_KP_UP = 91, SK_KP_PG_UP = 92, SK_KP_LEFT = 93, SK_KP_CENTER = 94, SK_KP_RIGHT = 95, SK_KP_END = 96, SK_KP_DOWN = 97, SK_KP_PG_DOWN = 98, SK_KP_INSERT = 99, SK_KP_DELETE = 100, SK_PAUSE = 101, SK_LEFT_WIN = 102, SK_RIGHT_WIN = 103, SK_LIST_BIT = 104, SK_KEYB = 105, SK_BREAK = 106, SK_SYSREQ = 107, SK_SUN_STOP = 108, SK_SUN_AGAIN = 109, SK_SUN_PROPS = 110, SK_SUN_UNDO = 111, SK_SUN_FRONT = 112, SK_SUN_COPY = 113, SK_SUN_OPEN = 114, SK_SUN_PASTE = 115, SK_SUN_FIND = 116, SK_SUN_CUT = 117, SK_SUN_HELP = 118, SK_SUN_COMPOSE = 119, SK_SUN_META_L = 120, SK_SUN_META_R = 121, SK_SUN_POWER = 122, SK_SUN_AUDIO_D = 123, SK_SUN_AUDIO_U = 124, SK_SUN_AUDIO_M = 125, SK_SUN_EMPTY = 126,
}

Variants§

§

SK_ILLEGAL = 0

§

SK_ESC = 1

§

SK_F1 = 2

§

SK_F2 = 3

§

SK_F3 = 4

§

SK_F4 = 5

§

SK_F5 = 6

§

SK_F6 = 7

§

SK_F7 = 8

§

SK_F8 = 9

§

SK_F9 = 10

§

SK_F10 = 11

§

SK_F11 = 12

§

SK_F12 = 13

§

SK_PRNT_SCRN = 14

§

SK_SCROLL_LOCK = 15

§

SK_NUM_LOCK = 16

§

SK_CAPS_LOCK = 17

§

SK_0 = 18

§

SK_1 = 19

§

SK_2 = 20

§

SK_3 = 21

§

SK_4 = 22

§

SK_5 = 23

§

SK_6 = 24

§

SK_7 = 25

§

SK_8 = 26

§

SK_9 = 27

§

SK_A = 28

§

SK_B = 29

§

SK_C = 30

§

SK_D = 31

§

SK_E = 32

§

SK_F = 33

§

SK_G = 34

§

SK_H = 35

§

SK_I = 36

§

SK_J = 37

§

SK_K = 38

§

SK_L = 39

§

SK_M = 40

§

SK_N = 41

§

SK_O = 42

§

SK_P = 43

§

SK_Q = 44

§

SK_R = 45

§

SK_S = 46

§

SK_T = 47

§

SK_U = 48

§

SK_V = 49

§

SK_W = 50

§

SK_X = 51

§

SK_Y = 52

§

SK_Z = 53

§

SK_APOSTROPHE = 54

§

SK_COMMA = 55

§

SK_PERIOD = 56

§

SK_SEMICOLON = 57

§

SK_EQUAL = 58

§

SK_SLASH = 59

§

SK_BACKSLASH = 60

§

SK_SPACE = 61

§

SK_LEFT_BRACKET = 62

§

SK_RIGHT_BRACKET = 63

§

SK_MINUS = 64

§

SK_GRAVE = 65

§

SK_TAB = 66

§

SK_ENTER = 67

§

SK_BACKSPACE = 68

§

SK_CTRL_L = 69

§

SK_CTRL_R = 70

§

SK_SHIFT_L = 71

§

SK_SHIFT_R = 72

§

SK_ALT_L = 73

§

SK_ALT_R = 74

§

SK_GR_DIVIDE = 75

§

SK_GR_MULTIPLY = 76

§

SK_GR_MINUS = 77

§

SK_GR_PLUS = 78

§

SK_GR_ENTER = 79

§

SK_GR_INSERT = 80

§

SK_GR_HOME = 81

§

SK_GR_PG_UP = 82

§

SK_GR_DELETE = 83

§

SK_GR_END = 84

§

SK_GR_PG_DOWN = 85

§

SK_GR_UP = 86

§

SK_GR_DOWN = 87

§

SK_GR_LEFT = 88

§

SK_GR_RIGHT = 89

§

SK_KP_HOME = 90

§

SK_KP_UP = 91

§

SK_KP_PG_UP = 92

§

SK_KP_LEFT = 93

§

SK_KP_CENTER = 94

§

SK_KP_RIGHT = 95

§

SK_KP_END = 96

§

SK_KP_DOWN = 97

§

SK_KP_PG_DOWN = 98

§

SK_KP_INSERT = 99

§

SK_KP_DELETE = 100

§

SK_PAUSE = 101

§

SK_LEFT_WIN = 102

§

SK_RIGHT_WIN = 103

§

SK_LIST_BIT = 104

§

SK_KEYB = 105

§

SK_BREAK = 106

§

SK_SYSREQ = 107

§

SK_SUN_STOP = 108

§

SK_SUN_AGAIN = 109

§

SK_SUN_PROPS = 110

§

SK_SUN_UNDO = 111

§

SK_SUN_FRONT = 112

§

SK_SUN_COPY = 113

§

SK_SUN_OPEN = 114

§

SK_SUN_PASTE = 115

§

SK_SUN_FIND = 116

§

SK_SUN_CUT = 117

§

SK_SUN_HELP = 118

§

SK_SUN_COMPOSE = 119

§

SK_SUN_META_L = 120

§

SK_SUN_META_R = 121

§

SK_SUN_POWER = 122

§

SK_SUN_AUDIO_D = 123

§

SK_SUN_AUDIO_U = 124

§

SK_SUN_AUDIO_M = 125

§

SK_SUN_EMPTY = 126

Trait Implementations§

source§

impl Clone for sim_key_t

source§

fn clone(&self) -> sim_key_t

Returns a copy 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 sim_key_t

source§

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

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

impl Hash for sim_key_t

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 Ord for sim_key_t

source§

fn cmp(&self, other: &sim_key_t) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for sim_key_t

source§

fn eq(&self, other: &sim_key_t) -> 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 PartialOrd for sim_key_t

source§

fn partial_cmp(&self, other: &sim_key_t) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for sim_key_t

source§

impl Eq for sim_key_t

source§

impl StructuralPartialEq for sim_key_t

Auto Trait Implementations§

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.