Skip to main content

to_pascal_case

Function to_pascal_case 

Source
pub fn to_pascal_case(input: &str) -> String
Expand description

Converts any identifier or hyphenated string literal (e.g. 'portrait-upside-down', on_count_change, small) into PascalCase.