Skip to main content

Module attrs

Module attrs 

Source

Structs§

EnumAttributes
Attributes defined on enumerations.
FieldAttributes
Attributes defined on fields.
StructAttributes
Attributes defined on structures.
VariantAttributes
Attributes defined on variants.

Statics§

ALLOWED_ATTRS 🔒
ALLOWED_LISTS 🔒

Functions§

parse_crate_path
Parses the crate attribute value into a path.
rename_identifier
Renames ident per the rename/rename_all attribute values, rename taking precedence.