Procedural macros are a really powerful language feature in Rust and something I haven’t seen in many other languages. There are a heap of tutorials out there for procedural macros, including in The Rust Reference, and the first edition of the Rust Book. One of the more entertaining (and useful) posts is by Zach Mitchell where you get to “learn Rust procedural macros with Nic Cage”. I won’t go into depth about what procedural macros are and why they’re so powerful. But basically the...