pub enum EvDevRawEvent {
Touch {
type_: RawPointerEventType,
timestamp: u64,
position: Point,
raw_pointer_id: i64,
},
Pointer {
type_: RawPointerEventType,
timestamp: u64,
position: Point,
modifiers: RawInputModifiers,
},
Wheel {
timestamp: u64,
position: Point,
delta: Vector,
modifiers: RawInputModifiers,
},
Key {
type_: RawKeyEventType,
timestamp: u64,
key: Key,
modifiers: RawInputModifiers,
physical_key: PhysicalKey,
key_symbol: Option<String>,
},
Text {
timestamp: u64,
text: String,
},
}Expand description
A raw input event of an event device, before it has a device object and an input root.
Variants§
Touch
Pointer
Wheel
Key
Text
Trait Implementations§
Source§impl Clone for EvDevRawEvent
impl Clone for EvDevRawEvent
Source§impl Debug for EvDevRawEvent
impl Debug for EvDevRawEvent
Source§impl PartialEq for EvDevRawEvent
impl PartialEq for EvDevRawEvent
impl StructuralPartialEq for EvDevRawEvent
Auto Trait Implementations§
impl Freeze for EvDevRawEvent
impl RefUnwindSafe for EvDevRawEvent
impl Send for EvDevRawEvent
impl Sync for EvDevRawEvent
impl Unpin for EvDevRawEvent
impl UnsafeUnpin for EvDevRawEvent
impl UnwindSafe for EvDevRawEvent
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more