Enum webview2_sys::MouseEventKind[][src]

#[repr(u32)]
pub enum MouseEventKind {
Show variants HorizontalWheel, LeftButtonDoubleClick, LeftButtonDown, LeftButtonUp, Leave, MiddleButtonDoubleClick, MiddleButtonDown, MiddleButtonUp, Move, RightButtonDoubleClick, RightButtonDown, RightButtonUp, Wheel, XButtonDoubleClick, XButtonDown, XButtonUp,
}

Mouse event type used by SendMouseInput to convey the type of mouse event being sent to WebView. The values of this enum align with the matching WM_* window messages.

Variants

HorizontalWheel

Mouse horizontal wheel scroll event, WM_MOUSEHWHEEL.

LeftButtonDoubleClick

Left button double click mouse event, WM_LBUTTONDBLCLK.

LeftButtonDown

Left button down mouse event, WM_LBUTTONDOWN.

LeftButtonUp

Left button up mouse event, WM_LBUTTONUP.

Leave

Mouse leave event, WM_MOUSELEAVE.

MiddleButtonDoubleClick

Middle button double click mouse event, WM_MBUTTONDBLCLK.

MiddleButtonDown

Middle button down mouse event, WM_MBUTTONDOWN.

MiddleButtonUp

Middle button up mouse event, WM_MBUTTONUP.

Move

Mouse move event, WM_MOUSEMOVE.

RightButtonDoubleClick

Right button double click mouse event, WM_RBUTTONDBLCLK.

RightButtonDown

Right button down mouse event, WM_RBUTTONDOWN.

RightButtonUp

Right button up mouse event, WM_RBUTTONUP.

Wheel

Mouse wheel scroll event, WM_MOUSEWHEEL.

XButtonDoubleClick

First or second X button double click mouse event, WM_XBUTTONDBLCLK.

XButtonDown

First or second X button down mouse event, WM_XBUTTONDOWN.

XButtonUp

First or second X button up mouse event, WM_XBUTTONUP.

Trait Implementations

impl Clone for MouseEventKind[src]

impl Copy for MouseEventKind[src]

impl Debug for MouseEventKind[src]

impl Eq for MouseEventKind[src]

impl PartialEq<MouseEventKind> for MouseEventKind[src]

impl StructuralEq for MouseEventKind[src]

impl StructuralPartialEq for MouseEventKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.