Re:Virtual Structs Part 1: Where Rust’s Enum Shines
by eddyb on Tuesday May 05, 2015 @01:15PM
(#9493643)
"Virtual Structs" is a name for a potential feature that may expose some sort of structural inheritance or subtyping.
The name is not used for the current "enum" feature, which is one of the few ADTs in Rust (there's also "struct" and tuples - not sure what else qualifies).
The name is not used for the current "enum" feature, which is one of the few ADTs in Rust (there's also "struct" and tuples - not sure what else qualifies).