Struct rustc_infer::infer::opaque_types::Instantiator
source · [−]struct Instantiator<'a, 'tcx> {
infcx: &'a InferCtxt<'a, 'tcx>,
body_id: HirId,
param_env: ParamEnv<'tcx>,
value_span: Span,
obligations: Vec<PredicateObligation<'tcx>>,
}Fields
infcx: &'a InferCtxt<'a, 'tcx>body_id: HirIdparam_env: ParamEnv<'tcx>value_span: Spanobligations: Vec<PredicateObligation<'tcx>>Implementations
fn fold_opaque_ty(
&mut self,
ty: Ty<'tcx>,
opaque_type_key: OpaqueTypeKey<'tcx>,
origin: OpaqueTyOrigin
) -> Ty<'tcx>
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for Instantiator
impl<'a, 'tcx> !Send for Instantiator
impl<'a, 'tcx> !Sync for Instantiator
impl<'a, 'tcx> Unpin for Instantiator where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for Instantiator
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: 56 bytes