rust-proc-macros Questions
1
Solved
I try to implement a proc_macro Dump, which is similar to serdes Serialize.
For this purpose I have a crate foo which contains my "primitive" structs (P1 and P2 in this case) which should only be ...
Hillel asked 8/1, 2019 at 8:50
1
Solved
Is it possible to build a macro that doesn't output anything but instead for example stores state to build up a list and then a second macro that will then actually use that data and output some re...
Intendment asked 20/10, 2018 at 23:0
2
Solved
Now that proc_macros have been stabilized, how does one create such a thing?
From what I've seen, there's the option of putting a #[proc_macro_attribute] annotation on a fn whatsitsname(attrs: Tok...
Runstadler asked 1/10, 2018 at 6:36
1
Solved
I am very confused by the many terms used for several macro-like things in the Rust ecosystem. Could someone clarify what macros/syntax extensions/compiler plugins there are as well as explain the ...
Hydrophobia asked 18/12, 2016 at 21:33
© 2022 - 2024 — McMap. All rights reserved.