Enum egui::Key [−][src]
pub enum Key {
Show 51 variants
ArrowDown,
ArrowLeft,
ArrowRight,
ArrowUp,
Escape,
Tab,
Backspace,
Enter,
Space,
Insert,
Delete,
Home,
End,
PageUp,
PageDown,
Num0,
Num1,
Num2,
Num3,
Num4,
Num5,
Num6,
Num7,
Num8,
Num9,
A,
B,
C,
D,
E,
F,
G,
H,
I,
J,
K,
L,
M,
N,
O,
P,
Q,
R,
S,
T,
U,
V,
W,
X,
Y,
Z,
}
Expand description
Keyboard keys.
Includes all keys egui is interested in (such as Home
and End
)
plus a few that are useful for detecting keyboard shortcuts.
Many keys are omitted because they are not always physical keys (depending on keyboard language), e.g. ;
and §
,
and are therefor unsuitable as keyboard shortcuts if you want your app to be portable.
Variants
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Either from the main row or from the numpad.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Key
impl UnwindSafe for Key
Blanket Implementations
Mutably borrows from an owned value. Read more