#[non_exhaustive]pub enum KeypadKey {
Digit(u8),
Enter,
Equal,
Multiply,
Add,
Subtract,
Decimal,
Divide,
}Expand description
A key on a numeric keypad.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Digit(u8)
Digits 0–9.
Enter
Keypad Enter.
Equal
=.
Multiply
*.
Add
+.
Subtract
-.
Decimal
..
Divide
/.
Trait Implementations§
impl Copy for KeypadKey
impl Eq for KeypadKey
impl StructuralPartialEq for KeypadKey
Auto Trait Implementations§
impl Forget for KeypadKey
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§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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