Part of #43927. Make Variant.get_cmp assemble the key comparison function from existing field cmp parts, and do the same for Variant.get_hash, adding the new hash-related methods to fields and types. (For non-int field types, these will be stubs that raise an error, for now.)
Part of #43927. Make Variant.get_cmp assemble the key comparison function from existing field cmp parts, and do the same for Variant.get_hash, adding the new hash-related methods to fields and types. (For non-int field types, these will be stubs that raise an error, for now.)