Enum webview2_sys::MouseEventVirtualKeys[][src]

#[repr(u32)]
pub enum MouseEventVirtualKeys {
    None,
    LeftButton,
    RightButton,
    Shift,
    Control,
    MiddleButton,
    XButton1,
    XButton2,
}

Mouse event virtual keys associated with a COREWEBVIEW2_MOUSE_EVENT_KIND for SendMouseInput. These values can be combined into a bit flag if more than one virtual key is pressed for the event. The values of this enum align with the matching MK_* mouse keys.

Variants

None

No additional keys pressed.

LeftButton

Left mouse button is down, MK_LBUTTON.

RightButton

Right mouse button is down, MK_RBUTTON.

Shift

SHIFT key is down, MK_SHIFT.

Control

CTRL key is down, MK_CONTROL.

MiddleButton

Middle mouse button is down, MK_MBUTTON.

XButton1

First X button is down, MK_XBUTTON1

XButton2

Second X button is down, MK_XBUTTON2

Trait Implementations

impl Clone for MouseEventVirtualKeys[src]

impl Copy for MouseEventVirtualKeys[src]

impl Debug for MouseEventVirtualKeys[src]

impl Eq for MouseEventVirtualKeys[src]

impl PartialEq<MouseEventVirtualKeys> for MouseEventVirtualKeys[src]

impl StructuralEq for MouseEventVirtualKeys[src]

impl StructuralPartialEq for MouseEventVirtualKeys[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.