Structs§
- AsPhantom
Data - Display wrapper that outputs generic parameters as a PhantomData
- Bounded
Generic Param - The name of a generic parameter with bounds
- Bounded
Generic Params - Stores different representations of generic parameters for implementing traits.
- Lifetime
Name - PAttrs
- Parsed attributes
- PContainer
- Parsed container
- PEnum
- Parsed enum (given attributes etc.)
- PName
- A parsed name, which includes the raw name and the effective name.
- PStruct
- Parse struct
- PStruct
Field - Parsed field
- PVariant
- Parsed enum variant
- With
Bounds - Display wrapper that shows generic parameters with their bounds
- Without
Bounds - Display wrapper that shows generic parameters without their bounds
Enums§
- Generic
Param Name - The name of a generic parameter
- Ident
OrLiteral - For struct fields, they can either be identifiers (
my_struct.foo) or literals (my_struct.2) — for tuple structs. - PAttr
- Parsed attr
- PFacet
Attr - All the supported facet attributes, e.g.
#[facet(sensitive)]#[facet(rename_all)], etc. - PRepr
- PStruct
Kind - Parsed struct kind, modeled after
StructKind. - PVariant
Kind - Parsed enum variant kind
- Primitive
Repr - Rename
Rule - Represents different case conversion strategies for renaming.
All strategies assume an initial input of
snake_case(e.g.,foo_bar).