Struct rustc_traits::chalk::lowering::BoundVarsCollector [−][src]
pub(crate) struct BoundVarsCollector<'tcx> {
binder_index: DebruijnIndex,
pub(crate) parameters: BTreeMap<u32, VariableKind<RustInterner<'tcx>>>,
pub(crate) named_parameters: Vec<DefId>,
}Fields
binder_index: DebruijnIndexparameters: BTreeMap<u32, VariableKind<RustInterner<'tcx>>>named_parameters: Vec<DefId>Implementations
Trait Implementations
impl<'tcx> TypeVisitor<'tcx> for BoundVarsCollector<'tcx>[src]
impl<'tcx> TypeVisitor<'tcx> for BoundVarsCollector<'tcx>[src]fn visit_binder<T: TypeFoldable<'tcx>>(
&mut self,
t: &Binder<'tcx, T>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
t: &Binder<'tcx, 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]
type BreakTy = !
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, ()>