macro_rules! case {
(snake) => { ... };
(constant) => { ... };
(upper_snake) => { ... };
(ada) => { ... };
(kebab) => { ... };
(cobol) => { ... };
(upper_kebab) => { ... };
(train) => { ... };
(flat) => { ... };
(upper_flat) => { ... };
(pascal) => { ... };
(upper_camel) => { ... };
(camel) => { ... };
(lower) => { ... };
(upper) => { ... };
(title) => { ... };
(sentence) => { ... };
}Expand description
The variant of case from a token.
The token associated with each variant is the variant written in snake case.
To do conversion with a macro, see ccase.