Trait hookmap_core::common::button::ButtonState[][src]

pub trait ButtonState {
    fn is_pressed(&self) -> bool;

    fn is_released(&self) -> bool { ... }
}

Required methods

Returns true if the button is pressed.

Provided methods

Returns true if the button is released.

Implementors