pub const fn type_id_variant_name(
_base: TypeId,
_variant_index: usize,
) -> &'static str🔬This is a nightly-only experimental API. (
core_intrinsics)Expand description
Gets the name of the variant represented by the base TypeId and variant_idx.
The more user-friendly version of this intrinsic is core::mem::type_info::VariantId::name.