pub trait I2sExt: Sized + Instance {
// Required method
fn i2s(
self,
pins: (impl Into<Self::Ws>, impl Into<Self::Ck>, impl Into<Self::Mck>, impl Into<Self::Sd>),
clocks: &Clocks,
) -> I2s<Self>;
}
Expand description
Trait to build an I2s
object from SPI peripheral, pins and clocks
Required Methods§
fn i2s( self, pins: (impl Into<Self::Ws>, impl Into<Self::Ck>, impl Into<Self::Mck>, impl Into<Self::Sd>), clocks: &Clocks, ) -> I2s<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.