Expand description
The code
module contains types and helper methods to format and manage the
code generated by this crate.
Structs§
- Ident
Path - Represents an identifier path.
- Invalid
Ident Path - Error that is raised by
IdentPath
if parsing the value from string failed. - Module
- Manages the code that is generated for a specific module.
- Module
Path - Represents a path of a module.
Enums§
- SubModules
- Defines how the sub modules of the
Module
will be generated when callingModule::to_code()
.
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.