struct NormalizationFolder<'me, 'db> {
at: At<'me, 'db>,
fulfill_cx: FulfillmentCtxt<'db>,
depth: usize,
universes: Vec<Option<UniverseIndex>>,
stalled_coroutine_goals: Vec<Goal<'db, Predicate<'db>>>,
}Fields§
§at: At<'me, 'db>§fulfill_cx: FulfillmentCtxt<'db>§depth: usize§universes: Vec<Option<UniverseIndex>>§stalled_coroutine_goals: Vec<Goal<'db, Predicate<'db>>>Implementations§
Source§impl<'db> NormalizationFolder<'_, 'db>
impl<'db> NormalizationFolder<'_, 'db>
fn normalize_alias_term( &mut self, alias_term: Term<'db>, ) -> Result<Term<'db>, Vec<NextSolverError<'db>>>
fn select_all_and_stall_coroutine_predicates( &mut self, ) -> Result<(), Vec<NextSolverError<'db>>>
Trait Implementations§
Source§impl<'db> FallibleTypeFolder<DbInterner<'db>> for NormalizationFolder<'_, 'db>
impl<'db> FallibleTypeFolder<DbInterner<'db>> for NormalizationFolder<'_, 'db>
type Error = Vec<NextSolverError<'db>>
fn cx(&self) -> DbInterner<'db>
fn try_fold_binder<T: TypeFoldable<DbInterner<'db>>>( &mut self, t: Binder<'db, T>, ) -> Result<Binder<'db, T>, Self::Error>
fn try_fold_ty(&mut self, ty: Ty<'db>) -> Result<Ty<'db>, Self::Error>
fn try_fold_const(&mut self, ct: Const<'db>) -> Result<Const<'db>, Self::Error>
fn try_fold_region( &mut self, r: <I as Interner>::Region, ) -> Result<<I as Interner>::Region, Self::Error>
fn try_fold_predicate( &mut self, p: <I as Interner>::Predicate, ) -> Result<<I as Interner>::Predicate, Self::Error>
fn try_fold_clauses( &mut self, c: <I as Interner>::Clauses, ) -> Result<<I as Interner>::Clauses, Self::Error>
Auto Trait Implementations§
impl<'me, 'db> Freeze for NormalizationFolder<'me, 'db>
impl<'me, 'db> !RefUnwindSafe for NormalizationFolder<'me, 'db>
impl<'me, 'db> !Send for NormalizationFolder<'me, 'db>
impl<'me, 'db> !Sync for NormalizationFolder<'me, 'db>
impl<'me, 'db> Unpin for NormalizationFolder<'me, 'db>
impl<'me, 'db> UnsafeUnpin for NormalizationFolder<'me, 'db>
impl<'me, 'db> !UnwindSafe for NormalizationFolder<'me, 'db>
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
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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