Skip to main content

Module traits

Module traits 

Source

Structs§

AssocItem
Reflects [ty::AssocItem]

Enums§

AssocItemContainer
AssocKind
Reflects [ty::AssocKind]
AssocTypeData
Reflects [ty::AssocTypeData]
ImplTraitInTraitData
Reflects [ty::ImplTraitInTraitData]

Type Aliases§

TraitRef
Reflects [ty::TraitRef] Contains the def_id and arguments passed to the trait. The first type argument is the Self type. The trait proofs are the required predicate for this trait; currently they are always empty because we consider all trait predicates as implied. self.in_trait is always None because a trait can’t be associated to another one.