macro_rules! impl_custom_type_id {
($ty:ty, $val:literal) => { ... };
}Expand description
Implements CustomTypeId for the specified type and sets its type id to the specified
literal u64 value., e.g. impl_custom_type_id!(bool, 10681234549081409806);.
Specifying that two distinct types have the same TYPE_ID can lead to UB, so it is up to
the implementer to ensure these remain globally unique.
Used by ConstInto.