pub trait I2cExt: Sized + Instance {
// Required method
fn i2c(
self,
pins: (impl RInto<Self::Scl, 0>, impl RInto<Self::Sda, 0>),
mode: impl Into<Mode>,
rcc: &mut Rcc,
) -> I2c<Self>;
}
Required Methods§
fn i2c( self, pins: (impl RInto<Self::Scl, 0>, impl RInto<Self::Sda, 0>), mode: impl Into<Mode>, rcc: &mut Rcc, ) -> 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.