pub const fn pack_type_id(id: u128) -> TypeId
Expand description

Get a type_id from its previously unpacked u64. Opposite of [unpack_type_id(id)].

Note

Probably not safe for future compilers, fine for now. The size changed in later rust versions, see https://github.com/rust-lang/compiler-team/issues/608