Struct rustc_traits::chalk::lowering::ReverseParamsSubstitutor
source · pub(crate) struct ReverseParamsSubstitutor<'tcx> {
tcx: TyCtxt<'tcx>,
params: FxHashMap<u32, ParamTy>,
}Fields§
§tcx: TyCtxt<'tcx>§params: FxHashMap<u32, ParamTy>Implementations§
Trait Implementations§
source§impl<'tcx> TypeFolder<TyCtxt<'tcx>> for ReverseParamsSubstitutor<'tcx>
impl<'tcx> TypeFolder<TyCtxt<'tcx>> for ReverseParamsSubstitutor<'tcx>
fn interner(&self) -> TyCtxt<'tcx>
fn fold_ty(&mut self, t: Ty<'tcx>) -> Ty<'tcx>
fn fold_binder<T>( &mut self, t: <I as Interner>::Binder<T> ) -> <I as Interner>::Binder<T>where T: TypeFoldable<I>, <I as Interner>::Binder<T>: TypeSuperFoldable<I>,
fn fold_region(&mut self, r: <I as Interner>::Region) -> <I as Interner>::Region
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for ReverseParamsSubstitutor<'tcx>
impl<'tcx> !Send for ReverseParamsSubstitutor<'tcx>
impl<'tcx> !Sync for ReverseParamsSubstitutor<'tcx>
impl<'tcx> Unpin for ReverseParamsSubstitutor<'tcx>
impl<'tcx> !UnwindSafe for ReverseParamsSubstitutor<'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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size:40 bytes