Struct rustc_infer::infer::ToFreshVars
source · struct ToFreshVars<'a, 'tcx> {
infcx: &'a InferCtxt<'tcx>,
span: Span,
lbrct: LateBoundRegionConversionTime,
map: FxHashMap<BoundVar, GenericArg<'tcx>>,
}Fields§
§infcx: &'a InferCtxt<'tcx>§span: Span§lbrct: LateBoundRegionConversionTime§map: FxHashMap<BoundVar, GenericArg<'tcx>>Trait Implementations§
source§impl<'tcx> BoundVarReplacerDelegate<'tcx> for ToFreshVars<'_, 'tcx>
impl<'tcx> BoundVarReplacerDelegate<'tcx> for ToFreshVars<'_, 'tcx>
fn replace_region(&mut self, br: BoundRegion) -> Region<'tcx>
fn replace_ty(&mut self, bt: BoundTy) -> Ty<'tcx>
fn replace_const(&mut self, bv: BoundVar, ty: Ty<'tcx>) -> Const<'tcx>
Auto Trait Implementations§
impl<'a, 'tcx> !RefUnwindSafe for ToFreshVars<'a, 'tcx>
impl<'a, 'tcx> !Send for ToFreshVars<'a, 'tcx>
impl<'a, 'tcx> !Sync for ToFreshVars<'a, 'tcx>
impl<'a, 'tcx> Unpin for ToFreshVars<'a, 'tcx>where 'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for ToFreshVars<'a, '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: 56 bytes