pub struct Unpacker<'a, 'infcx, 'genv, 'tcx> {
infcx: &'a mut InferCtxt<'infcx, 'genv, 'tcx>,
assume_invariants: bool,
}
Fields§
§infcx: &'a mut InferCtxt<'infcx, 'genv, 'tcx>
§assume_invariants: bool
Trait Implementations§
Source§impl HoisterDelegate for Unpacker<'_, '_, '_, '_>
impl HoisterDelegate for Unpacker<'_, '_, '_, '_>
fn hoist_exists(&mut self, ty_ctor: &TyCtor) -> Ty
fn hoist_constr(&mut self, pred: Expr)
Auto Trait Implementations§
impl<'a, 'infcx, 'genv, 'tcx> Freeze for Unpacker<'a, 'infcx, 'genv, 'tcx>
impl<'a, 'infcx, 'genv, 'tcx> !RefUnwindSafe for Unpacker<'a, 'infcx, 'genv, 'tcx>
impl<'a, 'infcx, 'genv, 'tcx> !Send for Unpacker<'a, 'infcx, 'genv, 'tcx>
impl<'a, 'infcx, 'genv, 'tcx> !Sync for Unpacker<'a, 'infcx, 'genv, 'tcx>
impl<'a, 'infcx, 'genv, 'tcx> Unpin for Unpacker<'a, 'infcx, 'genv, 'tcx>
impl<'a, 'infcx, 'genv, 'tcx> !UnwindSafe for Unpacker<'a, 'infcx, 'genv, 'tcx>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more