Files
developer-roadmap/roadmaps/rust/content/macros--metaprogramming@eTpZXd8E2jVBmk_aSLZYV.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

775 B

Macros and Metaprogramming

Macros are code that writes code, enabling metaprogramming in Rust. Declarative macros use macro_rules! for pattern-based code generation, while procedural macros provide custom derives and function-like macros. They're expanded at compile time, offering zero-cost abstractions.

Visit the following resources to learn more: