Trait OneWirePinExt

Source
pub trait OneWirePinExt {
    // Required methods
    fn to_input(&mut self) -> &mut dyn InputPin<Error = Infallible>;
    fn to_output(&mut self) -> &mut dyn OutputPin<Error = Infallible>;
}

Required Methods§

Source

fn to_input(&mut self) -> &mut dyn InputPin<Error = Infallible>

Source

fn to_output(&mut self) -> &mut dyn OutputPin<Error = Infallible>

Implementors§