Module case_style
strum_
macros
0.27.2
Module case_
style
Module Items
Enums
Constants
Traits
Functions
In strum_
macros::
helpers
strum_macros
::
helpers
Module
case_
style
Copy item path
Source
Enums
§
Case
Style
Constants
§
VALID_
CASE_
STYLES
🔒
Traits
§
Case
Style
Helpers
Functions
§
snakify
heck doesn’t treat numbers as new words, but this function does. E.g. for input
Hello2You
, heck would output
hello2_you
, and snakify would output
hello_2_you
.