Why use `impl Hash` / derive(Hash) together with derive(PartialEq, Eq) on a struct used as a HashMap key?