pub enum RawPointerEventType {
Show 22 variants
LeaveWindow,
LeftButtonDown,
LeftButtonUp,
RightButtonDown,
RightButtonUp,
MiddleButtonDown,
MiddleButtonUp,
XButton1Down,
XButton1Up,
XButton2Down,
XButton2Up,
Move,
Wheel,
NonClientLeftButtonDown,
TouchBegin,
TouchUpdate,
TouchEnd,
TouchCancel,
Magnify,
Rotate,
Swipe,
CancelCapture,
}Expand description
The kinds of raw pointer events.
Variants§
LeaveWindow
LeftButtonDown
LeftButtonUp
RightButtonDown
RightButtonUp
MiddleButtonDown
MiddleButtonUp
XButton1Down
XButton1Up
XButton2Down
XButton2Up
Move
Wheel
NonClientLeftButtonDown
TouchBegin
TouchUpdate
TouchEnd
TouchCancel
Magnify
Rotate
Swipe
CancelCapture
Implementations§
Source§impl RawPointerEventType
impl RawPointerEventType
Sourcepub fn to_update_kind(self) -> PointerUpdateKind
pub fn to_update_kind(self) -> PointerUpdateKind
The kind of pointer state change the raw event type represents.
Trait Implementations§
Source§impl Clone for RawPointerEventType
impl Clone for RawPointerEventType
impl Copy for RawPointerEventType
Source§impl Debug for RawPointerEventType
impl Debug for RawPointerEventType
impl Eq for RawPointerEventType
Source§impl Hash for RawPointerEventType
impl Hash for RawPointerEventType
Source§impl PartialEq for RawPointerEventType
impl PartialEq for RawPointerEventType
impl StructuralPartialEq for RawPointerEventType
Auto Trait Implementations§
impl Freeze for RawPointerEventType
impl RefUnwindSafe for RawPointerEventType
impl Send for RawPointerEventType
impl Sync for RawPointerEventType
impl Unpin for RawPointerEventType
impl UnsafeUnpin for RawPointerEventType
impl UnwindSafe for RawPointerEventType
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