pub trait I2sFreq {
// Required method
fn try_i2s_freq(clocks: &Clocks) -> Option<Hertz>;
// Provided method
fn i2s_freq(clocks: &Clocks) -> Hertz { ... }
}
Expand description
Trait to get I2s frequency at SPI peripheral input.
Required Methods§
fn try_i2s_freq(clocks: &Clocks) -> Option<Hertz>
Provided Methods§
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.