Struct gilrs::ev::ButtonData [] [src]

pub struct ButtonData { /* fields omitted */ }

Information about button stored in State.

Methods

impl ButtonData
[src]

[src]

Returns true if button is pressed.

[src]

Returns true if button is repeating.

[src]

Returns value of counter when button state last changed.

[src]

Returns when button state last changed.

Trait Implementations

impl Clone for ButtonData
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ButtonData
[src]

impl Debug for ButtonData
[src]

[src]

Formats the value using the given formatter.