module::proc_macro_tools
Tools for writing procedural macroses.
Sample
let code = quote!;
let tree_type = .unwrap;
let got = type_parameters;
got.iter.for_each;
// < i8
// < i16
// < i32
To add to your project
cargo add proc_macro_tools
Try out from the repository
git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/proc_macro_tools_trivial
cargo run