Struct rustc_traits::chalk::lowering::RegionsSubstitutor [−][src]
pub(crate) struct RegionsSubstitutor<'tcx> {
tcx: TyCtxt<'tcx>,
reempty_placeholder: Region<'tcx>,
}
Expand description
Used to substitute specific Regions
s with placeholders.
Fields
tcx: TyCtxt<'tcx>
reempty_placeholder: Region<'tcx>
Implementations
Trait Implementations
fn fold_binder<T>(&mut self, t: Binder<'tcx, T>) -> Binder<'tcx, T> where
T: TypeFoldable<'tcx>,
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for RegionsSubstitutor<'tcx>
impl<'tcx> !Send for RegionsSubstitutor<'tcx>
impl<'tcx> !Sync for RegionsSubstitutor<'tcx>
impl<'tcx> Unpin for RegionsSubstitutor<'tcx>
impl<'tcx> !UnwindSafe for RegionsSubstitutor<'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