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
Links
Rust Lang Reference: Procedural Macros
The Little Book of Rust Macros
cargo-expand
proc_macro_roids
: Improves ergonomics when writing proc macros.