Enum input_linux::MiscKind
source · #[repr(u16)]pub enum MiscKind {
Serial = 0,
PulseLed = 1,
Gesture = 2,
Raw = 3,
Scancode = 4,
Timestamp = 5,
Unknown6 = 6,
Unknown7 = 7,
}Expand description
Miscellaneous events.
Variants§
Serial = 0
Serial number, only exported for tablets (“Transducer Serial Number”)
PulseLed = 1
Only used by the PowerMate driver, right now.
Gesture = 2
Completely unused
Raw = 3
“Raw” event, rarely used.
Scancode = 4
Key scancode
Timestamp = 5
Completely unused
Unknown6 = 6
Unknown7 = 7
Implementations§
Trait Implementations§
source§impl BitmaskTrait for MiscKind
impl BitmaskTrait for MiscKind
source§fn array_default() -> Self::Array
fn array_default() -> Self::Array
The default empty state of the bitmask.
source§fn array_slice(array: &Self::Array) -> &[u8] ⓘ
fn array_slice(array: &Self::Array) -> &[u8] ⓘ
A representation of the bitmask as a slice of bytes.
source§impl<'de> Deserialize<'de> for MiscKind
impl<'de> Deserialize<'de> for MiscKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IterableEnum for MiscKind
impl IterableEnum for MiscKind
source§impl Ord for MiscKind
impl Ord for MiscKind
source§impl PartialEq for MiscKind
impl PartialEq for MiscKind
source§impl PartialOrd for MiscKind
impl PartialOrd for MiscKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for MiscKind
impl Eq for MiscKind
impl StructuralPartialEq for MiscKind
Auto Trait Implementations§
impl Freeze for MiscKind
impl RefUnwindSafe for MiscKind
impl Send for MiscKind
impl Sync for MiscKind
impl Unpin for MiscKind
impl UnwindSafe for MiscKind
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<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)