Expand description
Naming helpers for the static symbols the #[miniextendr] attribute emits.
These formatters live in one place so the attribute macro and any later
consumer (e.g. a registration-chasing linter) can compute the exact same
identifiers from a source syn::Ident.
Functionsยง
- apply_
rename_ ๐all - Apply a
rename_alltransformation to a variant name. - r_
wrapper_ ๐const_ ident_ for - Identifier for the generated
const &strholding the R wrapper source. - to_
kebab_ ๐case - Convert a PascalCase string to kebab-case (
InProgressโin-progress). - to_
snake_ ๐case - Convert a PascalCase string to snake_case.