Attribute Macros§
- struct_
enum - Creates a
From<..>
implementation for each variant of the attached enum.
Derive Macros§
- New
- Creates an implementation for a
new()
function that initializes the attached struct.
From<..>
implementation for each variant of the attached
enum.new()
function that initializes
the attached struct.