Struct qwiic_button_led::ButtonStatus [−][src]
pub struct ButtonStatus { pub event_available: bool, pub clicked: bool, pub pressed: bool, }
Expand description
The button has several status fields which change during operation.
Fields
event_available: bool
An event (clicked or pressed) is available on the button.
clicked: bool
The button has been clicked (pressed and released).
pressed: bool
The button is pressed presently.
Trait Implementations
Performs the conversion.