pub enum KeyboardKey {
Show 49 variants
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,
Num1,
Num2,
Num3,
Num4,
Num5,
Num6,
Num7,
Num8,
Num9,
Num0,
Enter,
Esc,
Del,
Tab,
Space,
LeftControl,
LeftShift,
LeftAlt,
LeftWindows,
RightControl,
RightShift,
RightAlt,
RightWindows,
}
Variants§
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
Num1
Num2
Num3
Num4
Num5
Num6
Num7
Num8
Num9
Num0
Enter
Esc
Del
Tab
Space
LeftControl
LeftShift
LeftAlt
LeftWindows
RightControl
RightShift
RightAlt
RightWindows
Trait Implementations§
Source§impl Clone for KeyboardKey
impl Clone for KeyboardKey
Source§fn clone(&self) -> KeyboardKey
fn clone(&self) -> KeyboardKey
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 moreSource§impl Debug for KeyboardKey
impl Debug for KeyboardKey
Source§impl Display for KeyboardKey
impl Display for KeyboardKey
Source§impl IntoEnumIterator for KeyboardKey
impl IntoEnumIterator for KeyboardKey
type Iterator = KeyboardKeyIter
fn iter() -> KeyboardKeyIter ⓘ
Source§impl PartialEq for KeyboardKey
impl PartialEq for KeyboardKey
Source§impl TryFrom<&str> for KeyboardKey
impl TryFrom<&str> for KeyboardKey
impl Copy for KeyboardKey
impl Eq for KeyboardKey
impl StructuralPartialEq for KeyboardKey
Auto Trait Implementations§
impl Freeze for KeyboardKey
impl RefUnwindSafe for KeyboardKey
impl Send for KeyboardKey
impl Sync for KeyboardKey
impl Unpin for KeyboardKey
impl UnwindSafe for KeyboardKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more