Trait Debounceable
picollar::debounce
pub trait Debounceable: Copy + Clone + Send + Sync { type Spec; fn pins(spec: &Self::Spec) -> &[Pin]; fn interpret(pin_states: &[GpioChange]) -> Option<Self>; fn delay() -> Duration; fn description() -> String; fn equivalent(&self, other: &Self) -> bool; }
type Spec
fn pins(spec: &Self::Spec) -> &[Pin]
fn interpret(pin_states: &[GpioChange]) -> Option<Self>
fn delay() -> Duration
fn description() -> String
fn equivalent(&self, other: &Self) -> bool
impl Debounceable for Mode
type Spec = [Pin; 2]