Skip to main content

Module register

Module register 

Source
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!
ExternAll
A type defined with field_type!
ExternField
A type defined with field_type!
ExternImpl
A type defined with field_type!
ExternType
A type defined with field_type!
Newtype
Nothing: on Newtype and associated constant
NewtypeAll
all: on everything
NewtypeField
NewtypeImpl
NewtypeType
type: only on NewtypeType

Enums§

Enum
Nothing: on Enum and associated constant
EnumAll
all: on everything
EnumField
EnumImpl
EnumType
type: only on EnumType
Register
Nothing: only on register structs
RegisterAll
all: on everything
RegisterField
RegisterImpl
RegisterType
type: only on register structs