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 Clone for MousePress
[src]
fn clone(&self) -> MousePress
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for MousePress
[src]
fn eq(&self, __arg_0: &MousePress) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MousePress) -> bool
This method tests for !=
.