#[non_exhaustive]pub enum KeypadControlCmd {
InterceptAllKeypresses,
IgnoreAllKeypresses,
InterceptSelectedKeypress,
IgnoreSelectedKeypress,
RejectKeypress,
Reserved(u8),
}Expand description
keypad_control_cmd values (Table 36, p. 41).
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.
InterceptAllKeypresses
01 — intercept all keypresses.
IgnoreAllKeypresses
02 — ignore all keypresses.
InterceptSelectedKeypress
03 — intercept the listed keypresses.
IgnoreSelectedKeypress
04 — ignore the listed keypresses.
RejectKeypress
05 — reject one keypress.
Reserved(u8)
Any other value (reserved).
Implementations§
Trait Implementations§
Source§impl Clone for KeypadControlCmd
impl Clone for KeypadControlCmd
Source§fn clone(&self) -> KeypadControlCmd
fn clone(&self) -> KeypadControlCmd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeypadControlCmd
Source§impl Debug for KeypadControlCmd
impl Debug for KeypadControlCmd
Source§impl Display for KeypadControlCmd
impl Display for KeypadControlCmd
impl Eq for KeypadControlCmd
Source§impl PartialEq for KeypadControlCmd
impl PartialEq for KeypadControlCmd
Source§fn eq(&self, other: &KeypadControlCmd) -> bool
fn eq(&self, other: &KeypadControlCmd) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KeypadControlCmd
impl Serialize for KeypadControlCmd
impl StructuralPartialEq for KeypadControlCmd
Auto Trait Implementations§
impl Freeze for KeypadControlCmd
impl RefUnwindSafe for KeypadControlCmd
impl Send for KeypadControlCmd
impl Sync for KeypadControlCmd
impl Unpin for KeypadControlCmd
impl UnsafeUnpin for KeypadControlCmd
impl UnwindSafe for KeypadControlCmd
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