pub trait GetConfig {
type Config;
// Required method
fn get_config(&self) -> Self::Config;
}Expand description
Get the configuration of a peripheral driver.
Required Associated Types§
Required Methods§
Sourcefn get_config(&self) -> Self::Config
fn get_config(&self) -> Self::Config
Get the configuration of the driver.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".