Rust logo
Rust 1.83.0-beta.7
b35ad722a

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.