procedural macro
A Rust function that runs at compile time and writes code.
A procedural macro is compiled in its own proc-macro crate and transforms a TokenStream into another; derive, attribute, and function-like are the three kinds.
See also
A Rust function that runs at compile time and writes code.
A procedural macro is compiled in its own proc-macro crate and transforms a TokenStream into another; derive, attribute, and function-like are the three kinds.
See also