Rust enums are WAY better than TypeScript’s
TypeScript enums are missing a LOT of features. Let’s see the magic of matching and struct
s that Rust brings to the table.
TypeScript enums are missing a LOT of features. Let’s see the magic of matching and struct
s that Rust brings to the table.