[][src]Struct conrod_core::event::DoubleClick

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

Implementations

impl DoubleClick[src]

pub fn relative_to(&self, xy: Point) -> DoubleClick[src]

Returns a copy of the DoubleClick relative to the given xy

Trait Implementations

impl Clone for DoubleClick[src]

impl Copy for DoubleClick[src]

impl Debug for DoubleClick[src]

impl From<DoubleClick> for Widget[src]

impl PartialEq<DoubleClick> for DoubleClick[src]

impl StructuralPartialEq for DoubleClick[src]

Auto Trait Implementations

impl RefUnwindSafe for DoubleClick

impl Send for DoubleClick

impl Sync for DoubleClick

impl Unpin for DoubleClick

impl UnwindSafe for DoubleClick

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Style for T where
    T: Any + Debug + PartialEq<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.