Struct d1_config::I2cConfiguration
source · pub struct I2cConfiguration {
pub enabled: bool,
pub mapping: Mapping,
}
Fields§
§enabled: bool
§mapping: Mapping
Implementations§
source§impl I2cConfiguration
impl I2cConfiguration
pub(crate) const fn default_mapping() -> Mapping
Trait Implementations§
source§impl Debug for I2cConfiguration
impl Debug for I2cConfiguration
source§impl<'de> Deserialize<'de> for I2cConfiguration
impl<'de> Deserialize<'de> for I2cConfiguration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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