pub trait I2sData {
// Required methods
fn datlen() -> u8;
fn for_u16<F: Fn(u16)>(&self, f: F);
}Expand description
Implemented by data types that fit the device’s data width: u16,
and u32.
Required 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.