#[repr(u32)]pub enum PointerEventKind {
Activate = 587,
Down = 582,
Enter = 585,
Leave = 586,
Up = 583,
Update = 581,
}Expand description
Pointer event type used by SendPointerInput to convey the type of pointer event being sent to WebView. The values of this enum align with the matching WM_POINTER* window messages.
Variants§
Activate = 587
Corresponds to WM_POINTERACTIVATE.
Down = 582
Corresponds to WM_POINTERDOWN.
Enter = 585
Corresponds to WM_POINTERENTER.
Leave = 586
Corresponds to WM_POINTERLEAVE.
Up = 583
Corresponds to WM_POINTERUP.
Update = 581
Corresponds to WM_POINTERUPDATE.
Trait Implementations§
Source§impl Clone for PointerEventKind
impl Clone for PointerEventKind
Source§fn clone(&self) -> PointerEventKind
fn clone(&self) -> PointerEventKind
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 PointerEventKind
impl Debug for PointerEventKind
Source§impl PartialEq for PointerEventKind
impl PartialEq for PointerEventKind
impl Copy for PointerEventKind
impl Eq for PointerEventKind
impl StructuralPartialEq for PointerEventKind
Auto Trait Implementations§
impl Freeze for PointerEventKind
impl RefUnwindSafe for PointerEventKind
impl Send for PointerEventKind
impl Sync for PointerEventKind
impl Unpin for PointerEventKind
impl UnwindSafe for PointerEventKind
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