struct ImplTraitInTraitCollector<'a, 'tcx> {
ocx: &'a ObligationCtxt<'a, 'tcx>,
types: FxHashMap<DefId, (Ty<'tcx>, SubstsRef<'tcx>)>,
span: Span,
param_env: ParamEnv<'tcx>,
body_id: LocalDefId,
}Fields§
§ocx: &'a ObligationCtxt<'a, 'tcx>§types: FxHashMap<DefId, (Ty<'tcx>, SubstsRef<'tcx>)>§span: Span§param_env: ParamEnv<'tcx>§body_id: LocalDefIdImplementations§
source§impl<'a, 'tcx> ImplTraitInTraitCollector<'a, 'tcx>
impl<'a, 'tcx> ImplTraitInTraitCollector<'a, 'tcx>
fn new( ocx: &'a ObligationCtxt<'a, 'tcx>, span: Span, param_env: ParamEnv<'tcx>, body_id: LocalDefId ) -> Self
Trait Implementations§
source§impl<'tcx> TypeFolder<TyCtxt<'tcx>> for ImplTraitInTraitCollector<'_, 'tcx>
impl<'tcx> TypeFolder<TyCtxt<'tcx>> for ImplTraitInTraitCollector<'_, 'tcx>
Auto Trait Implementations§
impl<'a, 'tcx> !RefUnwindSafe for ImplTraitInTraitCollector<'a, 'tcx>
impl<'a, 'tcx> !Send for ImplTraitInTraitCollector<'a, 'tcx>
impl<'a, 'tcx> !Sync for ImplTraitInTraitCollector<'a, 'tcx>
impl<'a, 'tcx> Unpin for ImplTraitInTraitCollector<'a, 'tcx>where 'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for ImplTraitInTraitCollector<'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: 64 bytes