Is it possible to store different Rust types into a Vec in some form that would allow me to get the types at later date?
I could store the TypeId of any types, but I couldn't then use the TypeId to get back to the original types, as far as I know.
In Java terms, I want to create a [boolean.class, char.class, ...], etc.
Aucun commentaire:
Enregistrer un commentaire