Struct nannou::ui::event::MousePress[][src]

pub struct MousePress {
    pub button: MouseButton,
    pub xy: [f64; 2],
    pub modifiers: ModifierKey,
}

Contains all relevant information for the event where a mouse button was pressed.

Fields

The mouse button that was pressed.

The location at which the mouse was pressed.

The modifier keys that were down at the time.

Trait Implementations

impl Clone for MousePress
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MousePress
[src]

Formats the value using the given formatter. Read more

impl Copy for MousePress
[src]

impl PartialEq<MousePress> for MousePress
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for MousePress

impl Sync for MousePress