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

pub struct ButtonData { /* fields omitted */ }

Information about button stored in State.

Methods

impl ButtonData
[src]

Returns true if button is pressed.

Returns value of button.

Returns true if button is repeating.

Returns value of counter when button state last changed.

Returns when button state last changed.

Trait Implementations

impl Clone for ButtonData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ButtonData
[src]

impl Debug for ButtonData
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ButtonData

impl Sync for ButtonData