Struct rustc_traits::chalk::lowering::PlaceholdersCollector [−][src]
pub(crate) struct PlaceholdersCollector {
universe_index: UniverseIndex,
pub(crate) next_ty_placeholder: usize,
pub(crate) next_anon_region_placeholder: u32,
}Expand description
Used to collect Placeholders.
Fields
universe_index: UniverseIndexnext_ty_placeholder: usizenext_anon_region_placeholder: u32Implementations
Trait Implementations
impl<'tcx> TypeVisitor<'tcx> for PlaceholdersCollector[src]
impl<'tcx> TypeVisitor<'tcx> for PlaceholdersCollector[src]fn visit_ty(&mut self, t: Ty<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow<Self::BreakTy>[src]
type BreakTy = !
fn visit_binder<T>(
&mut self,
t: &Binder<'tcx, T>
) -> ControlFlow<Self::BreakTy, ()> where
T: TypeFoldable<'tcx>, [src]
&mut self,
t: &Binder<'tcx, T>
) -> ControlFlow<Self::BreakTy, ()> where
T: TypeFoldable<'tcx>,
fn visit_const(
&mut self,
c: &'tcx Const<'tcx>
) -> ControlFlow<Self::BreakTy, ()>[src]
&mut self,
c: &'tcx Const<'tcx>
) -> ControlFlow<Self::BreakTy, ()>
fn visit_predicate(
&mut self,
p: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy, ()>[src]
&mut self,
p: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy, ()>