pub trait ConfigDocs {
// Required method
fn config_docs() -> &'static [(&'static str, &'static str)];
}
Expand description
Trait that allows for documentation printing
Required Methods§
Sourcefn config_docs() -> &'static [(&'static str, &'static str)]
fn config_docs() -> &'static [(&'static str, &'static str)]
Returns the fields in your struct with their assiciated documentation
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.