Skip to main content

type_id_element_ty

Function type_id_element_ty 

Source
pub const fn type_id_element_ty(_id: TypeId) -> Option<TypeId>
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Gets the type of each element of the array or slice represented by this TypeId.

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