pub enum InputType {
Unknown,
Press,
Repeat,
Release,
}Expand description
The type of the Input event.
Note: Unknown and Press are considered equivalent.
Variants§
Implementations§
Trait Implementations§
Source§impl From<InputType> for NcInputType
impl From<InputType> for NcInputType
Source§impl From<NcInputType> for InputType
impl From<NcInputType> for InputType
Source§fn from(nc: NcInputType) -> Self
fn from(nc: NcInputType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for InputType
impl From<u32> for InputType
Source§fn from(ncu: NcInputType_u32) -> Self
fn from(ncu: NcInputType_u32) -> Self
Converts to this type from the input type.
impl Copy for InputType
impl Eq for InputType
impl StructuralPartialEq for InputType
Auto Trait Implementations§
impl Freeze for InputType
impl RefUnwindSafe for InputType
impl Send for InputType
impl Sync for InputType
impl Unpin for InputType
impl UnwindSafe for InputType
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