Struct max7301::expander::pin::PortPin[][src]

pub struct PortPin<'io, IO: ExpanderIO> { /* fields omitted */ }

A single I/O pin on the MAX7301. These implement the embedded-hal traits for GPIO pins, so they can be used to transparently connect devices driven over GPIOs through the MAX7301 instead, using their embedded-hal-compatible drivers without modification.

Trait Implementations

impl<'io, IO: ExpanderIO> InputPin for PortPin<'io, IO>[src]

impl<'io, IO: ExpanderIO> OutputPin for PortPin<'io, IO>[src]

Auto Trait Implementations

impl<'io, IO> RefUnwindSafe for PortPin<'io, IO> where
    IO: RefUnwindSafe

impl<'io, IO> Send for PortPin<'io, IO> where
    IO: Sync

impl<'io, IO> Sync for PortPin<'io, IO> where
    IO: Sync

impl<'io, IO> Unpin for PortPin<'io, IO>

impl<'io, IO> UnwindSafe for PortPin<'io, IO> where
    IO: RefUnwindSafe

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.