Skip to main content

Module ty

Module ty 

Source
Expand description

Hax representations of Rust types and related type operations.

Structs§

AdtTy
Alias
This type merges the information from [ty::AliasTyKind] and [ty::AliasTy].
ArrayTy
CanonicalUserTypeAnnotation
Reflects [ty::CanonicalUserTypeAnnotation]
ClosureTy
Reflects [ty::ClosureArgs]
CoroutineTy
DynTraitTy
FnDefTy
FnPtrTy
ForeignTy
PatTy
RawPtrTy
RefTy
SliceTy
StrTy
TupleTy
Ty
Reflects [rustc_middle::ty::Ty]
TyFnSig
Reflects [ty::FnSig]
TypeAndMut
Reflects [ty::TypeAndMut]
UserArgs
Reflects [ty::UserArgs]
UserSelfTy
Reflects [ty::UserSelfTy]

Enums§

AliasKind
Reflects [rustc_middle::ty::AliasTyKind].
ClosureKind
Reflects [ty::ClosureKind]
FloatTy
Reflects [ty::FloatTy]
IntTy
Reflects [ty::IntTy]
LitIntType
Reflects [rustc_ast::ast::LitIntType]
Pattern
TyKind
Reflects [ty::TyKind]
UintTy
Reflects [ty::UintTy]
UnsizingMetadata
The metadata to attach to the newly-unsized ptr.
UserType
Reflects [ty::UserType]: this is currently disabled, and everything is printed as debug in the UserType::Todo variant.
ExternAbi
ABI we expect to see within extern "{abi}"

Functions§

alias_ty_kind_def_id
closure_sig
Retrieve a closure’s signature.
compute_unsizing_metadata

Type Aliases§

PolyFnSig
Reflects [ty::PolyFnSig]