pub struct I2cConfiguration {
pub underlying_instance: String,
pub default_addr: Option<u8>,
pub bits_per_sec: Option<u32>,
}
Fields§
§underlying_instance: String
§default_addr: Option<u8>
§bits_per_sec: Option<u32>
Trait Implementations§
Source§impl Debug for I2cConfiguration
impl Debug for I2cConfiguration
Source§impl Default for I2cConfiguration
impl Default for I2cConfiguration
Source§fn default() -> I2cConfiguration
fn default() -> I2cConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for I2cConfiguration
impl RefUnwindSafe for I2cConfiguration
impl Send for I2cConfiguration
impl Sync for I2cConfiguration
impl Unpin for I2cConfiguration
impl UnwindSafe for I2cConfiguration
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