Skip to main content

type_of

Function type_of 

Source
pub const fn type_of(_id: TypeId) -> Type
🔬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

Compute the type information of a concrete type. It can only be called at compile time, the backends do not implement it.