Infernaltoast

joined 1 month ago
[โ€“] Infernaltoast@programming.dev -3 points 2 weeks ago (2 children)

? . Dont hate the player hate the game

[โ€“] Infernaltoast@programming.dev 5 points 3 weeks ago* (last edited 3 weeks ago)

You can manually implement PartialEq and Eq on an Enum that implements Hash to manually determine how the hashmap keys override/collide with one another.