Enum conrod::event::Button [] [src]

pub enum Button {
    Keyboard(Key),
    Mouse(MouseButtonPoint),
    Controller(ControllerButton),
}

The different kinds of Buttons that may be Pressed or Released.

Variants

A keyboard button.

A mouse button along with the location at which it was Pressed/Released.

A controller button.

Methods

impl Button
[src]

[src]

Returns a copy of the Button relative to the given xy

Trait Implementations

impl Copy for Button
[src]

impl Clone for Button
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.