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
LowWhenPressedHighWhenPressed
Trait Implementations
impl Clone for GpioMode[src]
fn clone(&self) -> GpioMode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more