Skip to main content

type_id_reflected_attrs

Function type_id_reflected_attrs 

Source
pub const fn type_id_reflected_attrs(
    _type_id: TypeId,
) -> &'static [&'static str]
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Returns the reflection attributes given a TypeId which represents a structure, enumeration, union or FieldId.

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