Rust logo
Rust 1.84.0-beta.5
0857a8e32

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.