Struct conrod::event::DoubleClick
[−]
[src]
pub struct DoubleClick { pub button: MouseButton, pub xy: Point, pub modifiers: ModifierKey, }
Contains all the relevant information for a double click.
When handling this event, be sure to check that you are handling the intended button
too.
Fields
Which mouse button was clicked
xy: Point
The position at which the mouse was released.
modifiers: ModifierKey
Which modifier keys, if any, that were being held down when the user clicked
Methods
impl DoubleClick
[src]
fn relative_to(&self, xy: Point) -> DoubleClick
Returns a copy of the DoubleClick relative to the given xy
Trait Implementations
impl Debug for DoubleClick
[src]
impl PartialEq for DoubleClick
[src]
fn eq(&self, __arg_0: &DoubleClick) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DoubleClick) -> bool
This method tests for !=
.
impl Clone for DoubleClick
[src]
fn clone(&self) -> DoubleClick
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