[][src]Enum cv::highgui::MouseEventTypes

pub enum MouseEventTypes {
    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 MouseEventTypes[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MouseEventTypes[src]

impl Debug for MouseEventTypes[src]

Auto Trait Implementations

impl Send for MouseEventTypes

impl Sync for MouseEventTypes

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.