/// Returns a list of simple-type enumeration values that are mapped to something different in the
/// generated code.
Returns a list of simple-type enumeration values that are mapped to something different in the
generated code.
Returns a list of simple - type enumeration values that are mapped to something different in the generated code .
pub fn enum_member_substitutions() -> HashMap<String, String> {
    let mut substitutions = HashMap::new();
    // for better or worse, i chose to map these enum members that start with numbers like so...
    substitutions.insert("16th".to_string(), "sixteenth".to_string());
    substitutions.insert("32nd".to_string(), "thirtySecond".to_string());
    substitutions.insert("64th".to_string(), "sixtyFourth".to_string());
    substitutions.insert("128th".to_string(), "oneHundredTwentyEighth".to_string());
    substitutions.insert("256th".to_string(), "twoHundredFifthySixth".to_string());
    substitutions.insert("512th".to_string(), "fiveHundredTwelfth".to_string());
    substitutions.insert("1024th".to_string(), "oneThousandTwentyFourth".to_string());
    substitutions
}
pub fn enum_member_substitutions ( ) -> HashMap < String , String > { let mut substitutions = HashMap :: new ( ) ; // for better or worse, i chose to map these enum members that start with numbers like so... substitutions . insert ( " " . to_string ( ) , " " . to_string ( ) ) ; substitutions . insert ( " " . to_string ( ) , " " . to_string ( ) ) ; substitutions . insert ( " " . to_string ( ) , " " . to_string ( ) ) ; substitutions . insert ( " " . to_string ( ) , " " . to_string ( ) ) ; substitutions . insert ( " " . to_string ( ) , " " . to_string ( ) ) ; substitutions . insert ( " " . to_string ( ) , " " . to_string ( ) ) ; substitutions . insert ( " " . to_string ( ) , " " . to_string ( ) ) ; substitutions }
Returns a list of simple-type enumeration values that are mapped to something different in the
generated code.
Returns a list of simple - type enumeration values that are mapped to something different in the generated code .