pub const fn type_id_variants(_id: TypeId) -> usize🔬This is a nightly-only experimental API. (
core_intrinsics)This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description
Gets the number of variants of the type represented by this TypeId.
The more user-friendly version of this intrinsic is core::any::TypeId::variants.