pub(crate) trait ConfigType: Sized { fn doc_hint() -> String; }
Trait for types that can be used in Config.
Config
Returns hint text for use in Config::print_docs(). For enum types, this is a pipe-separated list of variants; for other types it returns “”.
Config::print_docs()