Virtual Structs Part 1: Where Rust's enum shines

from blog baby steps, | ↗ original
One priority for Rust after 1.0 is going to be incorporating some kind of support for “efficient inheritance” or “virtual structs”. In order to motivate and explain this design, I am writing a series of blog posts examining how Rust’s current abstractions compare with those found in other languages. The way I see it, the topic of “virtual...