Rust logo
Rust 1.27.0
3eda71b00

Procedural Macros (and custom Derive)

There is a new edition of the book and this is an old link.

Procedural macros allow for all sorts of advanced metaprogramming in Rust.


This chapter does not exist yet in the second edition. You can check out other resources that describe macros.