Struct rustc_infer::infer::opaque_types::ConstrainOpaqueTypeRegionVisitor [−][src]
struct ConstrainOpaqueTypeRegionVisitor<'tcx, OP> {
tcx: TyCtxt<'tcx>,
op: OP,
}Fields
tcx: TyCtxt<'tcx>op: OPTrait Implementations
impl<'tcx, OP> TypeVisitor<'tcx> for ConstrainOpaqueTypeRegionVisitor<'tcx, OP> where
OP: FnMut(Region<'tcx>),
impl<'tcx, OP> TypeVisitor<'tcx> for ConstrainOpaqueTypeRegionVisitor<'tcx, OP> where
OP: FnMut(Region<'tcx>),
Supplies the tcx for an unevaluated anonymous constant in case its default substs
are not yet supplied. Read more
fn visit_binder<T: TypeFoldable<'tcx>>(
&mut self,
t: &Binder<'tcx, T>
) -> ControlFlow<Self::BreakTy>
fn visit_unevaluated_const(
&mut self,
uv: Unevaluated<Option<Promoted>>
) -> ControlFlow<Self::BreakTy, ()>
Auto Trait Implementations
impl<'tcx, OP> !RefUnwindSafe for ConstrainOpaqueTypeRegionVisitor<OP>
impl<'tcx, OP> !Send for ConstrainOpaqueTypeRegionVisitor<OP>
impl<'tcx, OP> !Sync for ConstrainOpaqueTypeRegionVisitor<OP>
impl<'tcx, OP> Unpin for ConstrainOpaqueTypeRegionVisitor<OP> where
OP: Unpin,
impl<'tcx, OP> !UnwindSafe for ConstrainOpaqueTypeRegionVisitor<OP>
Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.
