pub trait I2s: Send + Sealed {
// Required method
fn port() -> i2s_port_t;
}
Expand description
Trait implemented by I2S peripherals to obtain their port number.
Required Methods§
Sourcefn port() -> i2s_port_t
fn port() -> i2s_port_t
Return the port number for the peripheral.
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.