macro
Code that writes code; its name ends with !, like println!.
A macro is invoked with a trailing ! and expands into ordinary Rust code at compile time; println! is one.
Examples
The
!inprintln!("Hello, world!");marks a macro call; the macro expands into code that formats and prints the text.
See also