Chapter 4
Hacking the Language with Macros
Section 3
Using Procedural Macros for Custom Derive
Implementing repetitive traits is cumbersome. Using procedural macros, we can create custom derive rules to reduce clutter. - Learn how custom derive works - Learn how we organize the folder structure for custom derive code - Understand how we use proc_macro, syn, and quote to achieve the custom derive logic