#[repr(u32)]pub enum InputEventType {
Key = 0,
Touch = 1,
Pointer = 2,
KeyboardResync = 3,
}Expand description
Input event type.
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 Default for InputEventType
impl Default for InputEventType
Source§fn default() -> InputEventType
fn default() -> InputEventType
Returns the “default value” for a type. Read more
Source§impl From<InputEventType> for MirInputEventType
impl From<InputEventType> for MirInputEventType
Source§fn from(value: InputEventType) -> Self
fn from(value: InputEventType) -> Self
Converts to this type from the input type.
Source§impl Hash for InputEventType
impl Hash for InputEventType
Source§impl PartialEq for InputEventType
impl PartialEq for InputEventType
Source§impl TryFrom<u32> for InputEventType
impl TryFrom<u32> 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