pub struct ProjectionTy<'tcx> {
pub trait_ref: Rc<TraitRef<'tcx>>,
pub item_name: Name,
}
Represents the projection of an associated type. In explicit UFCS
form this would be written <T as Trait<..>>::N
.
Fields
trait_ref | The trait reference T as Trait<..> .
|
item_name | The name N of the associated type.
|
Methods
Trait Implementations
impl<'a, 'tcx> Relate<'a, 'tcx> for ProjectionTy<'tcx> where 'tcx: 'a
Derived Implementations
fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).