2 ms·
I wonder if the c++ approach of boost.pfr would be portable to rust ? It allows reflection on aggregates without needing to annotate anything: https://github.co
by jcelerier 5y ago
I wonder if the c++ approach of boost.pfr would be portable to rust ? It allows reflection on aggregates without needing to annotate anything: https://github.com/boostorg/pfr https://github.com/boostorg/pfr
- cztomsik 5y agoI think currently, the only closest thing is bevy-reflect. Which is nice, but IMHO it should be in the language because nobody supports it ATM and to get there, it will take at least the same time it took for serde to get supported. https://crates.io/crates/bevy_reflect https://crates.io/crates/bevy_reflect