#[repr(u16)]pub enum InputEventType {
Syn = 0,
Key = 1,
Rel = 2,
Abs = 3,
Msc = 4,
Sw = 5,
Led = 17,
Snd = 18,
Rep = 20,
}Expand description
Input event types matching Linux input event types
Variants§
Trait Implementations§
Source§impl Clone for InputEventType
impl Clone for InputEventType
Source§fn clone(&self) -> InputEventType
fn clone(&self) -> InputEventType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputEventType
impl Debug for InputEventType
Source§impl From<InputEventType> for u16
impl From<InputEventType> for u16
Source§fn from(val: InputEventType) -> Self
fn from(val: InputEventType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputEventType
impl PartialEq for InputEventType
Source§impl TryFrom<u16> for InputEventType
impl TryFrom<u16> for InputEventType
impl Copy for InputEventType
impl Eq for InputEventType
impl StructuralPartialEq for InputEventType
Auto Trait Implementations§
impl Freeze for InputEventType
impl RefUnwindSafe for InputEventType
impl Send for InputEventType
impl Sync for InputEventType
impl Unpin for InputEventType
impl UnsafeUnpin for InputEventType
impl UnwindSafe for InputEventType
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