Enum libnoentiendo::keyboard::KeySymbol
source · pub enum KeySymbol {
Show 41 variants
Char(char),
Return,
Backspace,
Delete,
Escape,
PrintScreen,
ScrollLock,
Pause,
Insert,
Home,
PageUp,
PageDown,
End,
NumLock,
CapsLock,
LShift,
RShift,
LSuper,
RSuper,
LAlt,
RAlt,
LControl,
RControl,
Menu,
LeftArrow,
RightArrow,
UpArrow,
DownArrow,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
Interrupt,
}
Expand description
A representation for a symbol on a modern keyboard.
Variants§
Char(char)
Alphanumeric or symbol keys
Return
Backspace
Delete
Escape
PrintScreen
ScrollLock
Pause
Insert
Home
PageUp
PageDown
End
NumLock
CapsLock
LShift
RShift
LSuper
RSuper
LAlt
RAlt
LControl
RControl
Menu
LeftArrow
RightArrow
UpArrow
DownArrow
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Interrupt
Trait Implementations§
source§impl KeyAdapter<KeyPosition, KeySymbol> for SymbolAdapter
impl KeyAdapter<KeyPosition, KeySymbol> for SymbolAdapter
source§impl KeyAdapter<KeySymbol, C64Keys> for C64SymbolAdapter
impl KeyAdapter<KeySymbol, C64Keys> for C64SymbolAdapter
source§impl PartialEq for KeySymbol
impl PartialEq for KeySymbol
impl Copy for KeySymbol
impl Eq for KeySymbol
impl StructuralEq for KeySymbol
impl StructuralPartialEq for KeySymbol
Auto Trait Implementations§
impl RefUnwindSafe for KeySymbol
impl Send for KeySymbol
impl Sync for KeySymbol
impl Unpin for KeySymbol
impl UnwindSafe for KeySymbol
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.