Fixed equals and hash method generation when struct has no fields
Fixed equals and hash methods when field is padding