[][src]Struct drogue_grove_uart_spi::NoOpPin

pub struct NoOpPin;

A no-op pin, which does nothing.

This may be useful in the context of UARTSPI, to provide e.g. a CS or reset pin, which does nothing in this case.

Trait Implementations

impl OutputPin for NoOpPin[src]

type Error = ()

Error type

Auto Trait Implementations

impl Send for NoOpPin

impl Sync for NoOpPin

impl Unpin for NoOpPin

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, 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.