implement `Hash` for ()