pub trait GenerateConfig {
// Required method
fn generate_config() -> Value;
}
Expand description
A component that can generate a default configuration for itself.
Required Methods§
fn generate_config() -> Value
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.