Skip to main content

python_str_enum_ident

Function python_str_enum_ident 

Source
pub fn python_str_enum_ident(name: &str) -> String
Expand description

Like python_str_enum_safe_name but always returns a String, using the original when no escaping is needed. Convenience wrapper for StrEnum variant names.