pub trait SpiExt: Sized {
// Required method
fn spi<PINS>(
self,
pins: PINS,
mode: Mode,
freq: Hertz,
rcc: &mut Rcc,
) -> Spi<Self, PINS>
where PINS: Pins<Self>;
}
Required Methods§
fn spi<PINS>(
self,
pins: PINS,
mode: Mode,
freq: Hertz,
rcc: &mut Rcc,
) -> Spi<Self, PINS>where
PINS: Pins<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.