Just realized I've yet looked at how to do that. Seems std::any::Any is the current solution.
But you're right, I suspect there's more Rust-y way to implement things.
Yeah, I came across that too and played with it a little, but never found anything that didn't feel similarly kludgy. I don't really want to forfeit type checking, seems like a deeper structural change is likely in order.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.