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 Regionss with placeholders.
Fields
tcx: TyCtxt<'tcx>reempty_placeholder: Region<'tcx>Implementations
Trait Implementations
fn fold_binder<T>(&mut self, t: Binder<T>) -> Binder<T> where
T: TypeFoldable<'tcx>,
Self: TypeFolder<'tcx, Error = !>,
fn fold_predicate(&mut self, p: Predicate) -> Predicate where
Self: TypeFolder<'tcx, Error = !>,
fn fold_mir_const(&mut self, c: ConstantKind) -> ConstantKind where
Self: TypeFolder<'tcx, Error = !>,
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for RegionsSubstitutor
impl<'tcx> !Send for RegionsSubstitutor
impl<'tcx> !Sync for RegionsSubstitutor
impl<'tcx> Unpin for RegionsSubstitutor
impl<'tcx> !UnwindSafe for RegionsSubstitutor
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
