Re-exportsยง
use std::fmt;๐use std::marker::PhantomData;๐use std::ops::Deref;๐use derive_where::derive_where;๐use rustc_abi::ExternAbi;๐use rustc_ast_ir::Mutability;๐use rustc_data_structures::stable_hash::StableHash;๐use rustc_data_structures::stable_hash::StableHashCtxt;๐use rustc_data_structures::stable_hash::StableHasher;๐use rustc_macros::Decodable_NoContext;๐use rustc_macros::Encodable_NoContext;๐use rustc_macros::StableHash;๐use rustc_macros::StableHash_NoContext;๐use rustc_type_ir::data_structures::NoError;๐use rustc_type_ir::data_structures::UnifyKey;๐use rustc_type_ir::data_structures::UnifyValue;๐use rustc_type_ir_macros::GenericTypeVisitable;๐use rustc_type_ir_macros::Lift_Generic;๐use rustc_type_ir_macros::TypeFoldable_Generic;๐use rustc_type_ir_macros::TypeVisitable_Generic;๐use crate::ty::AliasTy;๐use crate as ty;๐use crate::BoundVarIndexKind;๐use crate::Const;๐use crate::FloatTy;๐use crate::FreeAliasTy;๐use crate::InherentAliasTy;๐use crate::IntTy;๐use crate::Interner;๐use crate::OpaqueAliasTy;๐use crate::ProjectionAliasTy;๐use crate::Region;๐use crate::UintTy;๐use crate::Unnormalized;๐use self::TyKind::*;๐use crate::inherent::*;๐
Modulesยง
- closure ๐
Structsยง
- Closure
Args - A closure can be modeled as a struct that looks like:
- Closure
Args Parts - Struct returned by
split(). - Coroutine
Args - Similar to
ClosureArgs; see the above documentation for more. - Coroutine
Args Parts - Coroutine
Closure Args - Coroutine
Closure Args Parts - See docs for explanation of how each argument is used.
- Coroutine
Closure Signature - Coroutine
Witness Types - Float
Vid - A floating-point (
f32orf64) type variable ID. - FnHeader
- FnSig
- FnSig
Kind - Contains the packed non-type fields of a function signature.
- FnSig
Tys - Fold
Escaping Regions - Instantiates a
for<'env> ...binder with a specific region. - GenSig
- HasRegions
Bound At - Unlike
has_escaping_bound_varsoroutermost_exclusive_binder, this will detect only regions bound at the debruijn index. - IntVid
- An integral (
u32,i32,usize, etc.) type variable ID. - TyVid
- A type variable ID.
- Type
AndMut - Unsafe
Binder Inner
Enumsยง
- Alias
TyKind - Float
VarValue - InferTy
- A placeholder for a type that hasnโt been inferred yet.
- IntVar
Value - IsRigid
- Whether an alias type is rigid or potentially normalizeable.
- Splatted
ArgIndex Error - Error type for splatted argument index errors.
- TyKind
- Defines the kinds of types used by the type system.