pub struct Parts<'a, B, M = RefCell<Driver<B>>>{
pub in0: Pin<'a, Input, M>,
pub in1: Pin<'a, Input, M>,
pub in2: Pin<'a, Input, M>,
pub in3: Pin<'a, Input, M>,
pub in4: Pin<'a, Input, M>,
pub in5: Pin<'a, Input, M>,
pub in6: Pin<'a, Input, M>,
pub in7: Pin<'a, Input, M>,
}Expand description
Container for all 8 input pins on the PCA9702.
Fields§
§in0: Pin<'a, Input, M>§in1: Pin<'a, Input, M>§in2: Pin<'a, Input, M>§in3: Pin<'a, Input, M>§in4: Pin<'a, Input, M>§in5: Pin<'a, Input, M>§in6: Pin<'a, Input, M>§in7: 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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more