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

The position at which the mouse was released.

Which modifier keys, if any, that were being held down when the user clicked

Methods

impl DoubleClick
[src]

Returns a copy of the DoubleClick relative to the given xy

Trait Implementations

impl Copy for DoubleClick
[src]

impl Clone for DoubleClick
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DoubleClick
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for DoubleClick
[src]

Formats the value using the given formatter. Read more

impl From<DoubleClick> for Widget
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for DoubleClick

impl Sync for DoubleClick