24 ms·
> that's natural to do with like rust enums Stands to reason. Rust "enums" are tagged unions (a.k.a. sum types, discriminated unions). In implementation, the
by 9rx 1y ago
> that's natural to do with like rust enums
Stands to reason. Rust "enums" are tagged unions (a.k.a. sum types, discriminated unions).
In implementation, the tag, unless otherwise specified, is produced by an enum, which I guess is why it got that somewhat confusing keyword.