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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more