Expand description
A simple macro to generate a static &str representing the name of a function, a struct or an enum.
Traits§
- Named
Enum Values - Trait implemented by nameth macro to get the name of an enum value.
- Named
Type - Trait implemented by nameth macro to get the name of a struct, enum, or function.
Attribute Macros§
- nameth
- Attribute that can be added to structs, enums or function, to generate a static &str representing the name of the item.