pub trait ModuleConfig:
Any
+ Send
+ Sync {
// Required method
fn as_any(&self) -> &dyn Any;
// Provided methods
fn format(&self) -> &str { ... }
fn style(&self) -> &str { ... }
}Expand description
Trait for module-specific configuration
Each module can have its own configuration section in the TOML file. This trait provides a common interface for accessing module configurations.