Trait button_driver::PinWrapper 
source · pub trait PinWrapper {
    // Required method
    fn is_high(&mut self) -> bool;
    // Provided method
    fn is_low(&mut self) -> bool { ... }
}Expand description
An abstraction over different switching APIs.