struct ConstrainOpaqueTypeRegionVisitor<OP> {
op: OP,
}Fields
op: OPTrait Implementations
sourceimpl<'tcx, OP> TypeVisitor<'tcx> for ConstrainOpaqueTypeRegionVisitor<OP> where
OP: FnMut(Region<'tcx>),
impl<'tcx, OP> TypeVisitor<'tcx> for ConstrainOpaqueTypeRegionVisitor<OP> where
OP: FnMut(Region<'tcx>),
fn visit_binder<T: TypeFoldable<'tcx>>(
&mut self,
t: &Binder<'tcx, T>
) -> ControlFlow<Self::BreakTy>
fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow<Self::BreakTy>
fn visit_ty(&mut self, ty: Ty<'tcx>) -> ControlFlow<Self::BreakTy>
type BreakTy = !
fn visit_const(
&mut self,
c: &'tcx Const<'tcx>
) -> ControlFlow<Self::BreakTy, ()>
fn visit_unevaluated_const(
&mut self,
uv: Unevaluated<'tcx, Option<Promoted>>
) -> ControlFlow<Self::BreakTy, ()>
fn visit_predicate(
&mut self,
p: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy, ()>
Auto Trait Implementations
impl<OP> RefUnwindSafe for ConstrainOpaqueTypeRegionVisitor<OP> where
OP: RefUnwindSafe,
impl<OP> Send for ConstrainOpaqueTypeRegionVisitor<OP> where
OP: Send,
impl<OP> Sync for ConstrainOpaqueTypeRegionVisitor<OP> where
OP: Sync,
impl<OP> Unpin for ConstrainOpaqueTypeRegionVisitor<OP> where
OP: Unpin,
impl<OP> UnwindSafe for ConstrainOpaqueTypeRegionVisitor<OP> where
OP: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized,
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.