[][src]Enum opencv::highgui::MouseEventFlags

#[repr(C)]pub enum MouseEventFlags {
    EVENT_FLAG_LBUTTON,
    EVENT_FLAG_RBUTTON,
    EVENT_FLAG_MBUTTON,
    EVENT_FLAG_CTRLKEY,
    EVENT_FLAG_SHIFTKEY,
    EVENT_FLAG_ALTKEY,
}

Mouse Event Flags see cv::MouseCallback

Variants

EVENT_FLAG_LBUTTON

indicates that the left mouse button is down.

EVENT_FLAG_RBUTTON

indicates that the right mouse button is down.

EVENT_FLAG_MBUTTON

indicates that the middle mouse button is down.

EVENT_FLAG_CTRLKEY

indicates that CTRL Key is pressed.

EVENT_FLAG_SHIFTKEY

indicates that SHIFT Key is pressed.

EVENT_FLAG_ALTKEY

indicates that ALT Key is pressed.

Trait Implementations

impl Clone for MouseEventFlags[src]

impl Copy for MouseEventFlags[src]

impl Debug for MouseEventFlags[src]

impl PartialEq<MouseEventFlags> for MouseEventFlags[src]

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