pub trait PinWrapper {
    // Required method
    fn is_high(&self) -> bool;

    // Provided method
    fn is_low(&self) -> bool { ... }
}
Expand description

An abstraction over different switching APIs.

Required Methods§

source

fn is_high(&self) -> bool

Is source on?

Provided Methods§

source

fn is_low(&self) -> bool

Is source off?

Implementors§