Trait rustc_middle::ty::fold::TypeVisitor [−][src]
Associated Types
Loading content...Provided methods
fn visit_binder<T: TypeFoldable<'tcx>>(
&mut self,
t: &Binder<T>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
t: &Binder<T>
) -> ControlFlow<Self::BreakTy>
fn visit_ty(&mut self, t: Ty<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_const(&mut self, c: &'tcx Const<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_predicate(&mut self, p: Predicate<'tcx>) -> ControlFlow<Self::BreakTy>[src]
Implementors
impl<'tcx> TypeVisitor<'tcx> for HasEscapingVarsVisitor[src]
type BreakTy = FoundEscapingVars
fn visit_binder<T: TypeFoldable<'tcx>>(
&mut self,
t: &Binder<T>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
t: &Binder<T>
) -> ControlFlow<Self::BreakTy>
fn visit_ty(&mut self, t: Ty<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_const(&mut self, ct: &'tcx Const<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_predicate(
&mut self,
predicate: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
predicate: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy>
impl<'tcx> TypeVisitor<'tcx> for HasTypeFlagsVisitor[src]
type BreakTy = FoundFlags
fn visit_ty(&mut self, t: Ty<'_>) -> ControlFlow<Self::BreakTy>[src]
fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_const(&mut self, c: &'tcx Const<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_predicate(
&mut self,
predicate: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
predicate: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy>
impl<'tcx> TypeVisitor<'tcx> for LateBoundRegionsCollector[src]
fn visit_binder<T: TypeFoldable<'tcx>>(
&mut self,
t: &Binder<T>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
t: &Binder<T>
) -> ControlFlow<Self::BreakTy>