Struct rustc_trait_selection::opaque_types::Instantiator [−][src]
struct Instantiator<'a, 'tcx> {
infcx: &'a InferCtxt<'a, 'tcx>,
parent_def_id: LocalDefId,
body_id: HirId,
param_env: ParamEnv<'tcx>,
value_span: Span,
opaque_types: OpaqueTypeMap<'tcx>,
obligations: Vec<PredicateObligation<'tcx>>,
}Fields
infcx: &'a InferCtxt<'a, 'tcx>parent_def_id: LocalDefIdbody_id: HirIdparam_env: ParamEnv<'tcx>value_span: Spanopaque_types: OpaqueTypeMap<'tcx>obligations: 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<'a, 'tcx>impl<'a, 'tcx> !Send for Instantiator<'a, 'tcx>impl<'a, 'tcx> !Sync for Instantiator<'a, 'tcx>impl<'a, 'tcx> Unpin for Instantiator<'a, 'tcx> where
'tcx: 'a, impl<'a, 'tcx> !UnwindSafe for Instantiator<'a, 'tcx>Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 88 bytes