pub enum KeypadKey {
Digit(u8),
Decimal,
Enter,
Add,
Subtract,
Multiply,
Divide,
Equal,
}Expand description
A numeric-keypad key. In application-keypad mode (DECNKM ?66 / DECKPAM, #74) these encode as the classic VT100/VT220 SS3 sequences; in numeric mode as the literal character. The consumer produces these for raw keypad identity — it owns NumLock / key-location resolution (#83).
Variants§
Trait Implementations§
impl Copy for KeypadKey
impl Eq for KeypadKey
impl StructuralPartialEq for KeypadKey
Auto Trait Implementations§
impl Freeze for KeypadKey
impl RefUnwindSafe for KeypadKey
impl Send for KeypadKey
impl Sync for KeypadKey
impl Unpin for KeypadKey
impl UnsafeUnpin for KeypadKey
impl UnwindSafe for KeypadKey
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