Do enum Types Conform to Hashable in Swift?
A video version of this article is available at https://youtu.be/h-xlW1pEBGI
Usually this means that we need to make sure our type conforms to
Hashable. In this example, we are going to put a simple Animal
struct into a set. If we do not…