Enum capsules::button::GpioMode [] [src]

pub enum GpioMode {
    LowWhenPressed,
    HighWhenPressed,
}

Whether the GPIOs for the buttons on this platform are low when the button is pressed or high.

Variants

Trait Implementations

impl Clone for GpioMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for GpioMode
[src]