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