pub enum Keystroke {
Show 46 variants
Escape,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
Return,
Tab,
Space,
Delete,
Backspace,
VolumeUp,
VolumeDown,
Mute,
ForwardDelete,
Alt,
LeftWindows,
RightWindows,
Control,
RightControl,
Shift,
RightShift,
CapsLock,
Function,
Home,
PageUp,
PageDown,
End,
LeftArrow,
UpArrow,
RightArrow,
DownArrow,
Help,
Insert,
Printscreen,
ScrollLock,
Pause,
Menu,
Char(char),
}
Variants§
Escape
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Return
Tab
Space
Delete
Backspace
VolumeUp
VolumeDown
Mute
ForwardDelete
Alt
LeftWindows
RightWindows
Control
RightControl
Shift
RightShift
CapsLock
Function
Home
PageUp
PageDown
End
LeftArrow
UpArrow
RightArrow
DownArrow
Help
Insert
Printscreen
ScrollLock
Pause
Menu
Char(char)
Trait Implementations§
impl Copy for Keystroke
Auto Trait Implementations§
impl RefUnwindSafe for Keystroke
impl Send for Keystroke
impl Sync for Keystroke
impl Unpin for Keystroke
impl UnwindSafe for Keystroke
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