How to implement equality test for mutable types? Hash Function Example

Can you give an example?

Look at

either use @auto_hash_equals as a quick solution, or expand it for an example.