Type Definition rustc_middle::mir::ProjectionKind [−][src]
type ProjectionKind = ProjectionElem<(), ()>;
Alias for projections as they appear in UserTypeProjection
, where we
need neither the V
parameter for Index
nor the T
for Field
.
Trait Implementations
impl Copy for ProjectionKind
[src]
impl<'tcx> Lift<'tcx> for ProjectionKind
[src]
type Lifted = Self
fn lift_to_tcx(self, _: TyCtxt<'tcx>) -> Option<Self>
[src]
impl<'tcx> TypeFoldable<'tcx> for ProjectionKind
[src]
fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> ProjectionKind
[src]
fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
fn fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self
[src]
fn visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>