pub struct I2cBus<SCL, SDA> { /* private fields */ }Expand description
Wrapper around an enabled HAL BlockingI2c instance.
Implementations§
Auto Trait Implementations§
impl<SCL, SDA> Freeze for I2cBus<SCL, SDA>
impl<SCL, SDA> RefUnwindSafe for I2cBus<SCL, SDA>where
SCL: RefUnwindSafe,
SDA: RefUnwindSafe,
impl<SCL, SDA> Send for I2cBus<SCL, SDA>
impl<SCL, SDA> !Sync for I2cBus<SCL, SDA>
impl<SCL, SDA> Unpin for I2cBus<SCL, SDA>
impl<SCL, SDA> UnwindSafe for I2cBus<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