Crate union_type

Source

Macros§

  • To make a enum a “union type” Assume there exists an A type and a B type, both of them has implemented fn f and g