Skip to main content

Module type_info

Module type_info 

Source
🔬This is a nightly-only experimental API. (type_info #146922)
Expand description

MVP for exposing compile-time information about types in a runtime or const-eval processable way.

Structs§

ArrayExperimental
Compile-time type information about arrays.
BoolExperimental
Compile-time type information about bool.
CharExperimental
Compile-time type information about char.
DynTraitExperimental
Compile-time type information about dynamic traits. FIXME(#146922): Add super traits and generics
DynTraitPredicateExperimental
Compile-time type information about a dynamic trait predicate.
FieldExperimental
Compile-time type information about fields of tuples, structs and enum variants.
FloatExperimental
Compile-time type information about floating-point types.
IntExperimental
Compile-time type information about signed and unsigned integer types.
PointerExperimental
Compile-time type information about pointers.
ReferenceExperimental
Compile-time type information about references.
SliceExperimental
Compile-time type information about slices.
StrExperimental
Compile-time type information about string slice types.
TraitExperimental
Compile-time type information about a trait.
TupleExperimental
Compile-time type information about tuples.
TypeExperimental
Compile-time type information.

Enums§

TypeKindExperimental
Compile-time type information.