[][src]Struct stmpe1600::Pin

pub struct Pin<'a, I2C> { /* fields omitted */ }

A single I/O pin on the STMPE1600.

These implement the embedded-hal traits for GPIO pins (InputPin and OutputPin), so they can be used to transparently connect devices driven over GPIO pins through the STMPE1600 instead, using any embedded-hal compatible device drivers without modification.

Trait Implementations

impl<'a, I2C, E> InputPin for Pin<'a, I2C> where
    I2C: Read<Error = E> + Write<Error = E>,
    E: Debug
[src]

type Error = Error<E>

Error type

impl<'a, I2C, E> OutputPin for Pin<'a, I2C> where
    I2C: Read<Error = E> + Write<Error = E>,
    E: Debug
[src]

type Error = Error<E>

Error type

Auto Trait Implementations

impl<'a, I2C> !Send for Pin<'a, I2C>

impl<'a, I2C> !Sync for Pin<'a, I2C>

impl<'a, I2C> Unpin for Pin<'a, I2C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> InputPin for T where
    T: InputPin
[src]

type Error = ()

Error type

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OutputPin for T where
    T: OutputPin
[src]

type Error = ()

Error type

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.