Enum opencv::highgui::MouseEventFlags  
source · #[repr(C)]
pub enum MouseEventFlags {
    EVENT_FLAG_LBUTTON,
    EVENT_FLAG_RBUTTON,
    EVENT_FLAG_MBUTTON,
    EVENT_FLAG_CTRLKEY,
    EVENT_FLAG_SHIFTKEY,
    EVENT_FLAG_ALTKEY,
}Expand description
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§
source§impl Clone for MouseEventFlags
 
impl Clone for MouseEventFlags
source§fn clone(&self) -> MouseEventFlags
 
fn clone(&self) -> MouseEventFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for MouseEventFlags
 
impl Debug for MouseEventFlags
source§impl PartialEq<MouseEventFlags> for MouseEventFlags
 
impl PartialEq<MouseEventFlags> for MouseEventFlags
source§fn eq(&self, other: &MouseEventFlags) -> bool
 
fn eq(&self, other: &MouseEventFlags) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.