Attribute Macros§
Derive Macros§
- Default
- Implements
Defaultfor a struct, usingDefault::default()for each field unless a#[default(...)]attribute provides a custom expression. - From
Chain - Implement
::std::convert::Fromthrough a chain of intermediate types. - SetVariant
- Example
- Type
Assoc - Implements traits that only have associated types.