Enum cv::highgui::MouseEventType[][src]

#[repr(C)]pub enum MouseEventType {
    MouseMove,
    LButtonDown,
    RButtonDown,
    MButtonDown,
    LButtonUp,
    RButtonUp,
    MButtonUp,
    LButtonClick,
    RButtonClick,
    MButtonClick,
    MouseWheel,
    MouseHWheel,
}

Mouse Events

Variants

MouseMove

Indicates that the mouse has moved over the window.

LButtonDown

Indicates that the left mouse button is pressed.

RButtonDown

Indicates that the right mouse button is pressed.

MButtonDown

Indicates that the middle mouse button is pressed.

LButtonUp

Indicates that left mouse button is released.

RButtonUp

Indicates that right mouse button is released.

MButtonUp

Indicates that middle mouse button is released.

LButtonClick

Indicates that left mouse button is double clicked.

RButtonClick

Indicates that right mouse button is double clicked.

MButtonClick

Indicates that middle mouse button is double clicked.

MouseWheel

Positive/negative means forward/backward scrolling.

MouseHWheel

Positive/negative means right and left scrolling.

Trait Implementations

impl Clone for MouseEventType[src]

impl Copy for MouseEventType[src]

impl Debug for MouseEventType[src]

impl Eq for MouseEventType[src]

impl Hash for MouseEventType[src]

impl PartialEq<MouseEventType> for MouseEventType[src]

impl StructuralEq for MouseEventType[src]

impl StructuralPartialEq for MouseEventType[src]

Auto Trait Implementations

impl RefUnwindSafe for MouseEventType

impl Send for MouseEventType

impl Sync for MouseEventType

impl Unpin for MouseEventType

impl UnwindSafe for MouseEventType

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.