pub struct Parts<'a, I2C, M = RefCell<Driver<I2C>>>
where I2C: I2cBus, M: PortMutex<Port = Driver<I2C>>,
{
Show 16 fields pub io0_0: Pin<'a, Input, M>, pub io0_1: Pin<'a, Input, M>, pub io0_2: Pin<'a, Input, M>, pub io0_3: Pin<'a, Input, M>, pub io0_4: Pin<'a, Input, M>, pub io0_5: Pin<'a, Input, M>, pub io0_6: Pin<'a, Input, M>, pub io0_7: Pin<'a, Input, M>, pub io1_0: Pin<'a, Input, M>, pub io1_1: Pin<'a, Input, M>, pub io1_2: Pin<'a, Input, M>, pub io1_3: Pin<'a, Input, M>, pub io1_4: Pin<'a, Input, M>, pub io1_5: Pin<'a, Input, M>, pub io1_6: Pin<'a, Input, M>, pub io1_7: Pin<'a, Input, M>,
}

Fields§

§io0_0: Pin<'a, Input, M>§io0_1: Pin<'a, Input, M>§io0_2: Pin<'a, Input, M>§io0_3: Pin<'a, Input, M>§io0_4: Pin<'a, Input, M>§io0_5: Pin<'a, Input, M>§io0_6: Pin<'a, Input, M>§io0_7: Pin<'a, Input, M>§io1_0: Pin<'a, Input, M>§io1_1: Pin<'a, Input, M>§io1_2: Pin<'a, Input, M>§io1_3: Pin<'a, Input, M>§io1_4: Pin<'a, Input, M>§io1_5: Pin<'a, Input, M>§io1_6: Pin<'a, Input, M>§io1_7: Pin<'a, Input, M>

Auto Trait Implementations§

§

impl<'a, I2C, M> RefUnwindSafe for Parts<'a, I2C, M>
where M: RefUnwindSafe,

§

impl<'a, I2C, M> Send for Parts<'a, I2C, M>
where M: Sync,

§

impl<'a, I2C, M> Sync for Parts<'a, I2C, M>
where M: Sync,

§

impl<'a, I2C, M> Unpin for Parts<'a, I2C, M>

§

impl<'a, I2C, M> UnwindSafe for Parts<'a, I2C, M>
where M: RefUnwindSafe,

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

§

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

§

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.