Skip to main content

Module naming

Module naming 

Source
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_all transformation to a variant name.
r_wrapper_const_ident_for ๐Ÿ”’
Identifier for the generated const &str holding 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.