Skip to main content

type_id_field_representing_type

Function type_id_field_representing_type 

Source
pub const fn type_id_field_representing_type(
    _id: TypeId,
    _variant_index: usize,
    _field_index: usize,
) -> TypeId
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Gets the FieldRepresentingType’s TypeId at the given index of the type represented by this TypeId.

The more user-friendly version of this intrinsic is core::any::TypeId::field.