Skip to main content

Module vars

Module vars 

Source

Structs§

Binder
Reflects [ty::Binder]
BoundRegion
Reflects [ty::BoundRegion]
BoundTy
Reflects [ty::BoundTy]
BoundTyRef
Canonical
Reflects [rustc_middle::infer::canonical::Canonical]
DynBinder
A representation of exists<T: Trait1 + Trait2>(value): we create a fresh type id and the appropriate trait clauses. The contained value may refer to the fresh ty and the in-scope trait clauses. This is used to represent types related to dyn Trait.
EarlyParamRegion
Reflects [ty::EarlyParamRegion]
GenericParamDef
Reflects [ty::GenericParamDef]
LateParamRegion
Reflects [ty::LateParamRegion]
ParamConst
Reflects [ty::ParamConst]
ParamTy
Reflects [ty::ParamTy]
Placeholder
Reflects [ty::Placeholder]
Region
Reflects [ty::Region]
TyGenerics
Reflects [ty::Generics]

Enums§

BoundRegionKind
Reflects [ty::BoundRegionKind]
BoundTyKind
Reflects [ty::BoundTyKind]
BoundVarIndexKind
Reflects [ty::BoundVarIndexKind]
BoundVariableKind
Reflects [ty::BoundVariableKind]
GenericArg
Reflects both [ty::GenericArg] and [ty::GenericArgKind]
GenericParamDefKind
Reflects [ty::GenericParamDefKind]
InferTy
Reflects partially [ty::InferTy]
LateParamRegionKind
Reflects [ty::LateParamRegionKind]
RegionKind
Reflects [ty::RegionKind]
Variance
Reflects [ty::Variance]

Traits§

BinderVariances 🔒
Lets types declare how to compute the variance of bound parameters.

Type Aliases§

BoundVar
CanonicalUserType
Reflects [ty::CanonicalUserType]
DebruijnIndex
PlaceholderConst
Reflects [ty::PlaceholderConst]
PlaceholderRegion
Reflects [ty::PlaceholderRegion]
PlaceholderTy
Reflects [ty::PlaceholderType]
RegionVid
UnitBinder