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.
ConstExperimental
Compile-time type information about generic const parameters.
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.
EnumExperimental
Compile-time type information about enums.
FieldExperimental
Compile-time type information about fields of tuples, structs and enum variants.
FloatExperimental
Compile-time type information about floating-point types.
GenericTypeExperimental
Compile-time type information about instantiated generic types.
IntExperimental
Compile-time type information about signed and unsigned integer types.
LifetimeExperimental
Compile-time type information about generic lifetimes.
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.
StructExperimental
Compile-time type information about arrays.
TraitExperimental
Compile-time type information about a trait.
TupleExperimental
Compile-time type information about tuples.
TypeExperimental
Compile-time type information.
UnionExperimental
Compile-time type information about unions.
VariantExperimental
Compile-time type information about variants of enums.

Enums§

GenericExperimental
Compile-time type information about instantiated generics of structs, enum and union variants.
TypeKindExperimental
Compile-time type information.