October 2019
Intermediate to advanced
444 pages
10h 37m
English
Previously, we have mostly used predefined macros—it's now time to look at creating custom macros. There are several types of macros in Rust—derive-based, function-like, and attributes, all of which have their own respective use cases. In this recipe, we'll experiment with the function-like variety to get started.
Read now
Unlock full access