[−][src]Trait rustc_middle::ty::fold::TypeFoldable
This trait is implemented for every type that can be folded.
Basically, every type that has a corresponding method in TypeFolder.
To implement this conveniently, use the derive macro located in librustc_macros.
Required methods
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
Provided methods
pub fn fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
pub fn has_vars_bound_at_or_above(&self, binder: DebruijnIndex) -> bool[src]
Returns true if self has any late-bound regions that are either
bound by binder or bound by some binder outside of binder.
If binder is ty::INNERMOST, this indicates whether
there are any late-bound regions that appear free.
pub fn has_vars_bound_above(&self, binder: DebruijnIndex) -> bool[src]
Returns true if this self has any regions that escape binder (and
hence are not bound by it).
pub fn has_escaping_bound_vars(&self) -> bool[src]
pub fn has_type_flags(&self, flags: TypeFlags) -> bool[src]
pub fn has_projections(&self) -> bool[src]
pub fn has_opaque_types(&self) -> bool[src]
pub fn references_error(&self) -> bool[src]
pub fn has_param_types_or_consts(&self) -> bool[src]
pub fn has_infer_regions(&self) -> bool[src]
pub fn has_infer_types(&self) -> bool[src]
pub fn has_infer_types_or_consts(&self) -> bool[src]
pub fn needs_infer(&self) -> bool[src]
pub fn has_placeholders(&self) -> bool[src]
pub fn needs_subst(&self) -> bool[src]
pub fn has_free_regions(&self) -> bool[src]
"Free" regions in this context means that it has any region that is not (a) erased or (b) late-bound.
pub fn has_erased_regions(&self) -> bool[src]
pub fn has_erasable_regions(&self) -> bool[src]
True if there are any un-erased free regions.
pub fn is_global(&self) -> bool[src]
Indicates whether this value references only 'global' generic parameters that are the same regardless of what fn we are in. This is used for caching.
pub fn has_late_bound_regions(&self) -> bool[src]
True if there are any late-bound regions
pub fn still_further_specializable(&self) -> bool[src]
Indicates whether this value still has parameters/placeholders/inference variables
which could be replaced later, in a way that would change the results of impl
specialization.
Implementations on Foreign Types
impl<'tcx> TypeFoldable<'tcx> for GeneratorKind[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, R: Idx, C: Idx> TypeFoldable<'tcx> for BitMatrix<R, C>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Constness[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ()[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F)[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for bool[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> bool[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for usize[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> usize[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for VariantIdx[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> VariantIdx[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for u32[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> u32[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for u64[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> u64[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for String[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> String[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for FloatTy[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> FloatTy[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InlineAsmOptions[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> InlineAsmOptions[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InlineAsmTemplatePiece[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> InlineAsmTemplatePiece[src]
self,
_: &mut F
) -> InlineAsmTemplatePiece
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for NodeId[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> NodeId[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Symbol[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Symbol[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Res[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Res[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for DefId[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> DefId[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for LocalDefId[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> LocalDefId[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for HirId[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> HirId[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for LlvmInlineAsmInner[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> LlvmInlineAsmInner[src]
self,
_: &mut F
) -> LlvmInlineAsmInner
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for MatchSource[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> MatchSource[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Unsafety[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Unsafety[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InlineAsmRegOrRegClass[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> InlineAsmRegOrRegClass[src]
self,
_: &mut F
) -> InlineAsmRegOrRegClass
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Abi[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Abi[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Span[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Span[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx, T: TypeFoldable<'tcx>, U: TypeFoldable<'tcx>> TypeFoldable<'tcx> for (T, U)[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> (T, U)[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, A: TypeFoldable<'tcx>, B: TypeFoldable<'tcx>, C: TypeFoldable<'tcx>> TypeFoldable<'tcx> for (A, B, C)[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> (A, B, C)[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, T> TypeFoldable<'tcx> for Option<T> where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
pub fn super_fold_with<V: TypeFolder<'tcx>>(self, folder: &mut V) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, T, E> TypeFoldable<'tcx> for Result<T, E> where
T: TypeFoldable<'tcx>,
E: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
E: TypeFoldable<'tcx>,
pub fn super_fold_with<V: TypeFolder<'tcx>>(self, folder: &mut V) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, T: TypeFoldable<'tcx>> TypeFoldable<'tcx> for Rc<T>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, T: TypeFoldable<'tcx>> TypeFoldable<'tcx> for Arc<T>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, T: TypeFoldable<'tcx>> TypeFoldable<'tcx> for Box<T>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, T: TypeFoldable<'tcx>> TypeFoldable<'tcx> for Vec<T>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, T: TypeFoldable<'tcx>> TypeFoldable<'tcx> for Box<[T]>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, T: TypeFoldable<'tcx>, I: Idx> TypeFoldable<'tcx> for IndexVec<I, T>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
Implementors
impl<'tcx> TypeFoldable<'tcx> for &'tcx AdtDef[src]
AdtDefs are basically the same as a DefId.
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
_visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
_visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for &'tcx Const<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
pub fn visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for &'tcx List<ExistentialPredicate<'tcx>>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for &'tcx List<Predicate<'tcx>>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for &'tcx List<PlaceElem<'tcx>>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for &'tcx List<ProjectionKind>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for &'tcx List<Ty<'tcx>>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for CanonicalVarKind<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> CanonicalVarKind<'tcx>[src]
self,
_: &mut F
) -> CanonicalVarKind<'tcx>
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Certainty[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Certainty[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for CoverageKind[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Op[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for BindingForm<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> BindingForm<'tcx>[src]
self,
_: &mut F
) -> BindingForm<'tcx>
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for FakeReadCause[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> FakeReadCause[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InlineAsmOperand<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for LocalInfo<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for MirPhase[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> MirPhase[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Operand<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for RetagKind[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> RetagKind[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Rvalue<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for StatementKind<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ErrorHandled[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> ErrorHandled[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Mutability[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Mutability[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Reveal[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Reveal[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for SelectionError<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for OutlivesBound<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for SelectionCandidate<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Adjust<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for AutoBorrow<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for AutoBorrowMutability[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> AutoBorrowMutability[src]
self,
_: &mut F
) -> AutoBorrowMutability
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for PointerCast[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> PointerCast[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for BindingMode[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> BindingMode[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for AdtKind[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> AdtKind[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for BoundRegion[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> BoundRegion[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ClosureKind[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> ClosureKind[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ConstKind<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ExistentialPredicate<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InferConst<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
_visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
_visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InferTy[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> InferTy[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InstanceDef<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for IntVarValue[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> IntVarValue[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for PredicateAtom<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for PredicateKind<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for UserType<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Variance[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Variance[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for TypeError<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for CanonicalVarInfo<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> CanonicalVarInfo<'tcx>[src]
self,
_: &mut F
) -> CanonicalVarInfo<'tcx>
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for CanonicalVarValues<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for QueryRegionConstraints<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for MemberConstraint<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Scope[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Scope[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for CodeRegion[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for CounterValueReference[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> CounterValueReference[src]
self,
_: &mut F
) -> CounterValueReference
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ExpressionOperandId[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> ExpressionOperandId[src]
self,
_: &mut F
) -> ExpressionOperandId
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InjectedExpressionId[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> InjectedExpressionId[src]
self,
_: &mut F
) -> InjectedExpressionId
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InjectedExpressionIndex[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> InjectedExpressionIndex[src]
self,
_: &mut F
) -> InjectedExpressionIndex
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for MappedExpressionIndex[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> MappedExpressionIndex[src]
self,
_: &mut F
) -> MappedExpressionIndex
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for GlobalId<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for PredecessorCache[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> PredecessorCache[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for BasicBlockData<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for BlockTailInfo[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> BlockTailInfo[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Body<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Constant<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Coverage[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Field[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for GeneratorLayout<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for GeneratorSavedLocal[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
_: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for LlvmInlineAsm<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Local[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Local[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for LocalDecl<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for MirSource<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Place<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Promoted[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Promoted[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for SourceInfo[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> SourceInfo[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for SourceScope[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> SourceScope[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for SourceScopeData<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for SourceScopeLocalData[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> SourceScopeLocalData[src]
self,
_: &mut F
) -> SourceScopeLocalData
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Statement<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for UserTypeProjection[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<Vs: TypeVisitor<'tcx>>(
&self,
visitor: &mut Vs
) -> ControlFlow<Vs::BreakTy>[src]
&self,
visitor: &mut Vs
) -> ControlFlow<Vs::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for UserTypeProjections[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for VarDebugInfo<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for PlaceTy<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Terminator<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for DropckOutlivesResult<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for NormalizationResult<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for AscribeUserType<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Eq<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ProvePredicate<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Subtype<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ChalkEnvironmentAndGoal<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for IfExpressionCause[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> IfExpressionCause[src]
self,
_: &mut F
) -> IfExpressionCause
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ImplSourceDiscriminantKindData[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> ImplSourceDiscriminantKindData[src]
self,
_: &mut F
) -> ImplSourceDiscriminantKindData
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Adjustment<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for OverloadedDeref<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for TraitRefPrintOnlyTraitPath<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for GeneratorWitness<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for AssocItem[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> AssocItem[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for CanonicalUserTypeAnnotation<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ClosureSubsts<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ExistentialProjection<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ExistentialTraitRef<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for FnSig<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for FreeRegion[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> FreeRegion[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for GenSig<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for GeneratorSubsts<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ImplHeader<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Instance<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for InstantiatedPredicates<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ParamConst[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> ParamConst[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ParamEnv<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ParamTy[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> ParamTy[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Placeholder<BoundRegion>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> Placeholder<BoundRegion>[src]
self,
_: &mut F
) -> Placeholder<BoundRegion>
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Predicate<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
pub fn visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
pub fn has_vars_bound_at_or_above(&self, binder: DebruijnIndex) -> bool[src]
pub fn has_type_flags(&self, flags: TypeFlags) -> bool[src]
impl<'tcx> TypeFoldable<'tcx> for ProjectionPredicate<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ProjectionTy<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for RegionVid[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> RegionVid[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for SubtypePredicate<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for TraitPredicate<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for TraitRef<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for TypeAndMut<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for UniverseIndex[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> UniverseIndex[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for UserTypeAnnotationIndex[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> UserTypeAnnotationIndex[src]
self,
_: &mut F
) -> UserTypeAnnotationIndex
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for GenericArg<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for UserSelfTy<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for UserSubsts<'tcx>[src]
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for CanonicalVarInfos<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(
self,
_: &mut F
) -> CanonicalVarInfos<'tcx>[src]
self,
_: &mut F
) -> CanonicalVarInfos<'tcx>
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for PlaceElem<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<Vs: TypeVisitor<'tcx>>(
&self,
visitor: &mut Vs
) -> ControlFlow<Vs::BreakTy>[src]
&self,
visitor: &mut Vs
) -> ControlFlow<Vs::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for ProjectionKind[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> ProjectionKind[src]
pub fn super_visit_with<F: TypeVisitor<'tcx>>(
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>[src]
&self,
_: &mut F
) -> ControlFlow<F::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Region<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, _folder: &mut F) -> Self[src]
pub fn fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
_visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
_visitor: &mut V
) -> ControlFlow<V::BreakTy>
pub fn visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for SubstsRef<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx> TypeFoldable<'tcx> for Ty<'tcx>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
pub fn visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, N> TypeFoldable<'tcx> for ImplSource<'tcx, N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, N> TypeFoldable<'tcx> for ImplSourceClosureData<'tcx, N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, N> TypeFoldable<'tcx> for ImplSourceFnPointerData<'tcx, N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, N> TypeFoldable<'tcx> for ImplSourceGeneratorData<'tcx, N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, N> TypeFoldable<'tcx> for ImplSourceObjectData<'tcx, N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, N> TypeFoldable<'tcx> for ImplSourceTraitAliasData<'tcx, N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, N> TypeFoldable<'tcx> for ImplSourceUserDefinedData<'tcx, N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, R> TypeFoldable<'tcx> for QueryResponse<'tcx, R> where
R: TypeFoldable<'tcx>, [src]
R: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, T> TypeFoldable<'tcx> for ParamEnvAnd<'tcx, T> where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<'tcx, T: TypeFoldable<'tcx>> TypeFoldable<'tcx> for Binder<T>[src]
pub fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self[src]
pub fn super_visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
pub fn visit_with<V: TypeVisitor<'tcx>>(
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>[src]
&self,
visitor: &mut V
) -> ControlFlow<V::BreakTy>
impl<'tcx, V> TypeFoldable<'tcx> for Canonical<'tcx, V> where
V: TypeFoldable<'tcx>, [src]
V: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<A, B, 'tcx> TypeFoldable<'tcx> for OutlivesPredicate<A, B> where
A: TypeFoldable<'tcx>,
B: TypeFoldable<'tcx>, [src]
A: TypeFoldable<'tcx>,
B: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<N, 'tcx> TypeFoldable<'tcx> for ImplSourceAutoImplData<N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<N, 'tcx> TypeFoldable<'tcx> for ImplSourceBuiltinData<N> where
N: TypeFoldable<'tcx>, [src]
N: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<T, 'tcx> TypeFoldable<'tcx> for ClearCrossCrate<T> where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<T, 'tcx> TypeFoldable<'tcx> for Normalize<T> where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<T, 'tcx> TypeFoldable<'tcx> for ExpectedFound<T> where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>
impl<T, 'tcx> TypeFoldable<'tcx> for WithOptConstParam<T> where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
pub fn super_fold_with<__F: TypeFolder<'tcx>>(self, __folder: &mut __F) -> Self[src]
pub fn super_visit_with<__F: TypeVisitor<'tcx>>(
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>[src]
&self,
__folder: &mut __F
) -> ControlFlow<__F::BreakTy>