An overview and examples for the diverse types of macros you can use in Rust.
Declarative macros look like a function: e.g. println!(), format!() or todo!(). They have an excl...
Procedural macros are "headers" added above e.g. a struct, take those information and generate di...