SemVer.toHash
size_t toHash() const @safe nothrowComputes a hash value for this SemVer.
The hash is based on major, minor, patch, and prerelease identifiers. Build metadata is intentionally excluded to match equality semantics.
Returns
A hash value suitable for use in associative arrays.