Rust logo
Rust 1.82.0
f6e511eec

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.