Skip to main content

Module traits

Module traits 

Source

Structs§

AssocItem
Reflects [ty::AssocItem]

Enums§

AssocItemContainer
AssocConstData
AssocKind
AssocTypeData
ImplTraitInTraitData
Useful source information about where a desugared associated type for an RPITIT originated from.

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.