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