Trait mg_settings::EnumMetaData
[−]
[src]
pub trait EnumMetaData { fn get_metadata() -> HashMap<String, MetaData>; }
Tre EnumMetaData
trait is used to get associated meta-data for the enum variants.
The meta-data is specified using the following attributes:
ⓘThis example is not tested
#[completion(hidden)] #[special_command] #[help(Command help)]
Required Methods
fn get_metadata() -> HashMap<String, MetaData>
Get the metadata associated with the enum.