Enum input_linux::MiscKind [−][src]
#[repr(u16)] pub enum MiscKind { Serial, PulseLed, Gesture, Raw, Scancode, Timestamp, Unknown6, Unknown7, }
Expand description
Miscellaneous events.
Variants
Serial number, only exported for tablets (“Transducer Serial Number”)
Only used by the PowerMate driver, right now.
Completely unused
“Raw” event, rarely used.
Key scancode
Completely unused
Implementations
pub fn iter() -> EnumIterator<Self>ⓘNotable traits for EnumIterator<T>impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
pub fn iter() -> EnumIterator<Self>ⓘNotable traits for EnumIterator<T>impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
An iterator over all values of the enum.
Instantiates the enum from a raw code value.
Trait Implementations
The default empty state of the bitmask.
A representation of the bitmask as a slice of bytes.
A mutable representation of the bitmask as a slice of bytes.
Given an index into the iterator, return the value and the next index. Read more
fn iter() -> EnumIterator<Self>ⓘNotable traits for EnumIterator<T>impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
fn iter() -> EnumIterator<Self>ⓘNotable traits for EnumIterator<T>impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
Instantiates an EnumIterator
for an iterable type.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MiscKind
impl UnwindSafe for MiscKind
Blanket Implementations
Mutably borrows from an owned value. Read more