Module voca_rs::case[][src]

Converts the subject to a selected case.

Functions

camel_case

Converts the subject to camel case.

capitalize

Converts the first character of subject to upper case. If restToLower is true, convert the rest of subject to lower case.

decapitalize

Converts the first character of subject to lower case. If restToLower is true, convert the rest of subject to lower case.

kebab_case

Converts the subject to kebab case.

lower_case

Converts the subject to lower case.

pascal_case

Converts the subject to pascal case.

shouty_kebab_case

Converts the subject to SHOUTY kebab case.

shouty_snake_case

Converts the subject to SHOUTY snake case.

snake_case

Converts the subject to snake case.

swap_case

Converts the uppercase alpha caracters of subject to lowercase and lowercase characters to uppercase.

title_case

Converts the subject to title case.

upper_case

Converts the subject to upper case.