Expand description
An example of where attributes get expanded in [register!] macros
Take a look at the source of this module to see the macro invocation used.
Structs§
- Extern
- A type defined with
field_type! - Extern
All - A type defined with
field_type! - Extern
Field - A type defined with
field_type! - Extern
Impl - A type defined with
field_type! - Extern
Type - A type defined with
field_type! - Newtype
- Nothing: on
Newtypeand associated constant - Newtype
All all: on everything- Newtype
Field - Newtype
Impl - Newtype
Type type: only onNewtypeType
Enums§
- Enum
- Nothing: on
Enumand associated constant - EnumAll
all: on everything- Enum
Field - Enum
Impl - Enum
Type type: only onEnumType- Register
- Nothing: only on register structs
- Register
All all: on everything- Register
Field - Register
Impl - Register
Type type: only on register structs