Struct conrod::event::Click [] [src]

pub struct Click {
    pub button: MouseButton,
    pub xy: Point,
    pub modifiers: ModifierKey,
}

Contains all the relevant information for a mouse click.

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 Click
[src]

[src]

Returns a copy of the Click relative to the given xy

Trait Implementations

impl Copy for Click
[src]

impl Clone for Click
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Click
[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 Click
[src]

[src]

Formats the value using the given formatter.