Module code

Source
Expand description

The code module contains types and helper methods to format and manage the code generated by this crate.

Structs§

IdentPath
Represents a identifier path.
Module
Manages the code that is generated for a specific module.
ModulePath
Represents a path of a module.

Functions§

format_field_ident
Formats the passed name as field name.
format_module_ident
Formats the passed name as module name.
format_type_ident
Formats the passed name as type name.
format_variant_ident
Formats the passed name as variant name.