Struct port_expander::dev::pca9536::Parts [−][src]
pub struct Parts<'a, I2C, M = NullMutex<Driver<I2C>>> where
I2C: I2cBus,
M: BusMutex<Bus = Driver<I2C>>, { pub io0: Pin<'a, Input, M>, pub io1: Pin<'a, Input, M>, pub io2: Pin<'a, Input, M>, pub io3: Pin<'a, Input, M>, }
Fields
io0: Pin<'a, Input, M>
io1: Pin<'a, Input, M>
io2: Pin<'a, Input, M>
io3: Pin<'a, Input, M>
Auto Trait Implementations
impl<'a, I2C, M> Send for Parts<'a, I2C, M> where
M: Sync,
M: Sync,
impl<'a, I2C, M> Sync for Parts<'a, I2C, M> where
M: Sync,
M: Sync,
impl<'a, I2C, M> Unpin for Parts<'a, I2C, M>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,