Struct rustc_trait_selection::traits::auto_trait::RegionReplacer [−][src]
pub struct RegionReplacer<'a, 'tcx> {
vid_to_region: &'a FxHashMap<RegionVid, Region<'tcx>>,
tcx: TyCtxt<'tcx>,
}
Fields
vid_to_region: &'a FxHashMap<RegionVid, Region<'tcx>>
tcx: TyCtxt<'tcx>
Trait Implementations
fn fold_binder<T>(&mut self, t: Binder<'tcx, T>) -> Binder<'tcx, T> where
T: TypeFoldable<'tcx>,
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for RegionReplacer<'a, 'tcx>
impl<'a, 'tcx> !Send for RegionReplacer<'a, 'tcx>
impl<'a, 'tcx> !Sync for RegionReplacer<'a, 'tcx>
impl<'a, 'tcx> Unpin for RegionReplacer<'a, 'tcx> where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for RegionReplacer<'a, 'tcx>
Blanket Implementations
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: 16 bytes