Closed samhh closed 1 year ago
Borrowing terminology from Serde: https://serde.rs/enum-representations.html#internally-tagged
For any given tag and any arbitrary sibling data:
Sum.Member<'Sun'> | Sum.Member<'Rain', { value: number }> <-> { tag: 'Sun' } | { tag: 'Rain', value: number }
Borrowing terminology from Serde: https://serde.rs/enum-representations.html#internally-tagged
For any given tag and any arbitrary sibling data: