Skip to main content

to_upper_snake_case

Function to_upper_snake_case 

Source
pub(crate) fn to_upper_snake_case(ident: &str) -> Option<String>
Expand description

Converts an identifier to an UPPER_SNAKE_CASE form. Returns None if the string is already is UPPER_SNAKE_CASE.