cs: Add an equatable struct
cs: Add an equatable struct

To use a struct as a key or to make it compare properly in many cases,
we should do all this boilerplate to make it equatable.

Probably can narrow this down to a template base class that just implements
CompareTo and GetHashCode.

idbrii/vim-david-snippets