1 unstable release
0.1.0 | Jul 30, 2021 |
---|
#7 in #design-patterns
4KB
This proc macro has a problem
quote! can't infer the generic type in the trait.
maybe we need to fix this. Or i don't know.
Please help this project!
lib.rs
:
This is test source.
This has a problem.
use utils_plugs::*; #[derive(Concentric, Default)] struct Foo { pub a: Plugin, b: usize, } fn main() { let mut foo = Foo::default(); let plugin = Plugin::new(4); a.concentric(&plugin); }
Dependencies
~1.5MB
~37K SLoC