I was just thinking about whether I should use an enum or a set of structs which implement a trait.
I googled and this article came up:
What it doesn't mention ( perhaps because it's not that important ) is that an enum will ( I think! ) take up the space of it's largest variant. So if some variants have a lot of fields, but others have few, there could be a cost in terms of increased memory usage. Have I got this right?