Parts

Struct Parts 

Source
pub struct Parts<'a, B, M = RefCell<Driver<B>>>
where B: Mcp23x17Bus, M: PortMutex<Port = Driver<B>>,
{
Show 16 fields pub gpa0: Pin<'a, Input, M>, pub gpa1: Pin<'a, Input, M>, pub gpa2: Pin<'a, Input, M>, pub gpa3: Pin<'a, Input, M>, pub gpa4: Pin<'a, Input, M>, pub gpa5: Pin<'a, Input, M>, pub gpa6: Pin<'a, Input, M>, pub gpa7: Pin<'a, Input, M>, pub gpb0: Pin<'a, Input, M>, pub gpb1: Pin<'a, Input, M>, pub gpb2: Pin<'a, Input, M>, pub gpb3: Pin<'a, Input, M>, pub gpb4: Pin<'a, Input, M>, pub gpb5: Pin<'a, Input, M>, pub gpb6: Pin<'a, Input, M>, pub gpb7: Pin<'a, Input, M>,
}

Fields§

§gpa0: Pin<'a, Input, M>§gpa1: Pin<'a, Input, M>§gpa2: Pin<'a, Input, M>§gpa3: Pin<'a, Input, M>§gpa4: Pin<'a, Input, M>§gpa5: Pin<'a, Input, M>§gpa6: Pin<'a, Input, M>§gpa7: Pin<'a, Input, M>§gpb0: Pin<'a, Input, M>§gpb1: Pin<'a, Input, M>§gpb2: Pin<'a, Input, M>§gpb3: Pin<'a, Input, M>§gpb4: Pin<'a, Input, M>§gpb5: Pin<'a, Input, M>§gpb6: Pin<'a, Input, M>§gpb7: Pin<'a, Input, M>

Auto Trait Implementations§

§

impl<'a, B, M> Freeze for Parts<'a, B, M>

§

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

§

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

§

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

§

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

§

impl<'a, B, M> UnwindSafe for Parts<'a, B, 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>,

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.