Enum input_linux::UInputKind [−][src]
#[repr(u16)] pub enum UInputKind { Unknown0, ForceFeedbackUpload, ForceFeedbackErase, }
Expand description
UInput feedback events.
Variants
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
type Index = UInputKind
type Index = UInputKind
The type that the bitmask can be indexed by.
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.
Performs the conversion.
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 UInputKind
impl Send for UInputKind
impl Sync for UInputKind
impl Unpin for UInputKind
impl UnwindSafe for UInputKind
Blanket Implementations
Mutably borrows from an owned value. Read more