Expand description
Convenient macros that turn Idents
or ident like
string literals into idents or string literals by case converting.
Macros§
- camel
- Convert an
Ident
or a string literal to a camelCaseIdent
- camel_
strify - Convert an
Ident
or a string literal to a camelCase&'static str
- english_
lower - Convert an
Ident
or a string literal to a “lower case”&'static str
- english_
title - Convert an
Ident
or a string literal to a “Titile Case”&'static str
- english_
upper - Convert an
Ident
or a string literal to a “UPPER CASE”&'static str
- kebab_
strify - Convert an
Ident
or a string literal to a kebab-case&'static str
- lower
- Convert an
Ident
or a string literal to a flatlowercaseIdent
- lower_
strify - Convert an
Ident
or a string literal to a flatlowercase&'static str
- pascal
- Convert an
Ident
or a string literal to a PascalCaseIdent
- pascal_
strify - Convert an
Ident
or a string literal to a PascalCase&'static str
- snake
- Convert an
Ident
or a string literal to a snake_caseIdent
- snake_
strify - Convert an
Ident
or a string literal to a snake_case&'static str
- train_
strify - Convert an
Ident
or a string literal to a Train-Case&'static str
- ukebab_
strify - Convert an
Ident
or a string literal to a UPPER-KEBAB-CASE&'static str
- upper
- Convert an
Ident
or a string literal to a FLATUPPERCASEIdent
- upper_
strify - Convert an
Ident
or a string literal to a FLATUPPERCASE&'static str
- usnake
- Convert an
Ident
or a string literal to a UPPER_SNAKE_CASEIdent
- usnake_
strify - Convert an
Ident
or a string literal to a UPPER_SNAKE_CASE&'static str