pub trait I2cExt: Sized + Instance {
// Required method
fn i2c(
self,
pins: (impl Into<Self::Scl>, impl Into<Self::Sda>),
mode: impl Into<Mode>,
clocks: &Clocks,
) -> I2c<Self>;
}
Required Methods§
fn i2c( self, pins: (impl Into<Self::Scl>, impl Into<Self::Sda>), mode: impl Into<Mode>, clocks: &Clocks, ) -> I2c<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.