Module casing

Source
Expand description

§Casing

This module works to implement various naming conventions and name-related primitives.

Structs§

CaseTypeIter
An iterator over the variants of CaseType

Enums§

CaseType

Functions§

to_camelcase
Converts a string to camelCase.
to_kebabcase
Converts a string to kebab-case.
to_pascalcase
Converts a string to PascalCase.
to_screaming_snakecase
Converts a string to SCREAMING_SNAKE_CASE.
to_snakecase
Converts a string to snake_case.