pub trait DocumentedVariantsOpt {
// Required method
fn get_variant_docs(&self) -> Option<&'static str>;
}Expand description
The optional variant of DocumentedVariants.
Required Methods§
Sourcefn get_variant_docs(&self) -> Option<&'static str>
fn get_variant_docs(&self) -> Option<&'static str>
Get the documentation on this enum variant.