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

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.