Expand description
Macros§
- attribute_
alias - Convenience macro to define new attribute aliases.
- derive_
alias - Convenience macro to define new derive aliases.
Attribute Macros§
- apply
- Applies the given
macro_rules!macro to the decorated item. - derive
- Like
#[macro_rules_derive], but for allowing to be used to shadow the “built-in”#[derive]attribute (on Rust ≥ 1.57.0). - macro_
rules_ attribute - Legacy name for what is currently named
#[apply] - macro_
rules_ derive - Applies the given
macro_rules!macro to the decorated item.
Derive Macros§
- Custom
- No-op macro that is automatically derived with
deriveormacro_rules_deriveto allow using the#[custom(...)]and#[derive_args(...)]attribute.