Trait InputPinExt

Source
pub trait InputPinExt: InputPin {
    // Provided method
    fn get(&mut self) -> Get<'_, Self> 
       where Self: Unpin { ... }
}
Expand description

Extension functions for instances of InputPin.

Provided Methods§

Source

fn get(&mut self) -> Get<'_, Self>
where Self: Unpin,

Gets the current high or low state of this pin.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A> InputPinExt for A
where A: InputPin,