Open sunjay opened 7 years ago
Needs #39 and optionally #40 before implementation.
Support tagged unions / enums with arbitrary nesting.
enum Foo {} enum Bar { Foo(Foo), NotFoo, DefinitelyNotFoo {a: u8, b: u8}, } enum Direction { North, East, South, West, }
Bar::NotFoo
use Bar::*
Needs #39 and optionally #40 before implementation.
Support tagged unions / enums with arbitrary nesting.
Bar::NotFoo
use Bar::*