rust-lang/rfcs — pull request #24 by nick29581 (2014-03-30 10:39:49+00:00)
Title: Unify and nest structs and enums

Another alternative to RFC #5 and an extension/variant of RFC #11.

Unify enums and structs by allowing enums to have fields, and structs to have
variants. Allow nested enums/structs. Virtual dispatch of methods on struct/enum
pointers. Remove struct variants. Treat enum variants as first class. Possibly
remove nullary structs and tuple structs.