Foreword
1.
What Are Macros
2.
Why Macros
2.1.
👥 Reduce duplication
2.2.
🏗️ Reduce boilerplate
2.3.
🚂 Varargs
3.
Macro Types
3.1.
Declarative
3.2.
Procedural
3.2.1.
Function-Like
3.2.2.
Derive
3.2.3.
Attribute
4.
Debugging
5.
Why Not Macros
6.
Links
Light (default)
Rust
Coal
Navy
Ayu
Rust Macros
Macro Types
Macros come in multiple forms:
Declarative
Procedural
Function-like
Derive
Attribute