pub struct Pins<SCL, SDA>{
pub scl: SCL,
pub sda: SDA,
}
Expand description
LPI2C pins.
Fields§
§scl: SCL
Serial clock.
sda: SDA
Serial data.
Auto Trait Implementations§
impl<SCL, SDA> RefUnwindSafe for Pins<SCL, SDA>where
SCL: RefUnwindSafe,
SDA: RefUnwindSafe,
impl<SCL, SDA> Send for Pins<SCL, SDA>
impl<SCL, SDA> Sync for Pins<SCL, SDA>
impl<SCL, SDA> Unpin for Pins<SCL, SDA>
impl<SCL, SDA> UnwindSafe for Pins<SCL, SDA>where
SCL: UnwindSafe,
SDA: UnwindSafe,
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