DataType.toHash

size_t toHash() const @safe pure nothrow

Hash consistent with opEquals, so DataType works as an associative-array key.

Returns

a hash of the kind and the unit.