pub trait ConfigDefault: Clone {
type ConfigType: ConfigType;
// Required method
fn into_config_type(self) -> Self::ConfigType;
}Expand description
A trait for a type that can be used as a default for a Config.
Required Associated Types§
type ConfigType: ConfigType
Required Methods§
Sourcefn into_config_type(self) -> Self::ConfigType
fn into_config_type(self) -> Self::ConfigType
Converts into the config type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".