pub struct I2cBase<T> {
pub i2c: T,
pub freq: Option<Hertz>,
pub config: Option<Config>,
}Expand description
i2c base data
Fields§
§i2c: Ti2c device
freq: Option<Hertz>hertz
config: Option<Config>i2c config
Implementations§
Auto Trait Implementations§
impl<T> Freeze for I2cBase<T>where
T: Freeze,
impl<T> RefUnwindSafe for I2cBase<T>where
T: RefUnwindSafe,
impl<T> Send for I2cBase<T>where
T: Send,
impl<T> Sync for I2cBase<T>where
T: Sync,
impl<T> Unpin for I2cBase<T>where
T: Unpin,
impl<T> UnwindSafe for I2cBase<T>where
T: 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