Pins

Struct Pins 

Source
pub struct Pins<Sync, Bclk, Data> {
    pub sync: Sync,
    pub bclk: Bclk,
    pub data: Data,
}
Expand description

A set of Pins for Tx or Rx

NOTE: The Data type could be more than a single Pin.

Fields§

§sync: Sync

Frame sync pin

§bclk: Bclk

Bit clock pin

§data: Data

Data pin(s)

Auto Trait Implementations§

§

impl<Sync, Bclk, Data> Freeze for Pins<Sync, Bclk, Data>
where Sync: Freeze, Bclk: Freeze, Data: Freeze,

§

impl<Sync, Bclk, Data> RefUnwindSafe for Pins<Sync, Bclk, Data>
where Sync: RefUnwindSafe, Bclk: RefUnwindSafe, Data: RefUnwindSafe,

§

impl<Sync, Bclk, Data> Send for Pins<Sync, Bclk, Data>
where Sync: Send, Bclk: Send, Data: Send,

§

impl<Sync, Bclk, Data> Sync for Pins<Sync, Bclk, Data>
where Sync: Sync, Bclk: Sync, Data: Sync,

§

impl<Sync, Bclk, Data> Unpin for Pins<Sync, Bclk, Data>
where Sync: Unpin, Bclk: Unpin, Data: Unpin,

§

impl<Sync, Bclk, Data> UnwindSafe for Pins<Sync, Bclk, Data>
where Sync: UnwindSafe, Bclk: UnwindSafe, Data: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.