Struct conrod::event::MousePress [] [src]

pub struct MousePress {
    pub button: MouseButton,
    pub xy: Point,
    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 Copy for MousePress
[src]

impl Clone for MousePress
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for MousePress
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for MousePress
[src]

[src]

Formats the value using the given formatter.