Struct conrod::event::MousePress [−][src]
pub struct MousePress { pub button: MouseButton, pub xy: Point, pub modifiers: ModifierKey, }
Contains all relevant information for the event where a mouse button was pressed.
Fields
The mouse button that was pressed.
xy: Point
The location at which the mouse was pressed.
modifiers: ModifierKey
The modifier keys that were down at the time.
Trait Implementations
impl Copy for MousePress
[src]
impl Copy for MousePress
impl Clone for MousePress
[src]
impl Clone for MousePress
fn clone(&self) -> MousePress
[src]
fn clone(&self) -> MousePress
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for MousePress
[src]
impl PartialEq for MousePress
fn eq(&self, other: &MousePress) -> bool
[src]
fn eq(&self, other: &MousePress) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MousePress) -> bool
[src]
fn ne(&self, other: &MousePress) -> bool
This method tests for !=
.
impl Debug for MousePress
[src]
impl Debug for MousePress
Auto Trait Implementations
impl Send for MousePress
impl Send for MousePress
impl Sync for MousePress
impl Sync for MousePress