Why can't I do `dynamic_cast` in Rust as I do in C++?

Just a small note: that is not a dynamic_cast in C++, but a static_cast. Here the C++ version of your example.

2 Likes