EnumConversions

Derive Macro EnumConversions 

Source
#[derive(EnumConversions)]
{
    // Attributes available to this derive:
    #[module_path_str]
}
Expand description

Create conversions between numeric simple enum types and their String names fn _to_str(val: ) fn _from_str(val: String)