title: Make simple tuple conform to Hashable, so can be a Dictionary Key
body: <p>I'd like to use a very simple tuple as a key:</p>
  
  <pre><code>(Int, Int)
  </code></pre>
  
  <p>Dictionary keys need to be Hashable. I've learnt. </p>
  
  <p>But can't find how I make this simple tuple Hashable, and do struggle with protocol conformance at the best of times.</p>
  
  <p>More profoundly, a CGPoint would solve my problems. It can be of this format, but is not hashable.</p>
  
  <p>Is it possible to extend a CGPoint so it's hashable? If so, how?</p>
  
  <p>EDIT: Image of Int variant of CGPoint choice. </p>
  
  <p><a href="https://i.stack.imgur.com/8owFp.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8owFp.png" alt="enter image description here"></a></p>