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

button: MouseButton

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]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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

impl Copy for DoubleClick
[src]