Rust logo
Rust 1.29.2
17a9dc751

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.