pub fn iter_fields<'tcx>( ty: Ty<'tcx>, tcx: TyCtxt<'tcx>, param_env: ParamEnv<'tcx>, f: impl FnMut(Option<VariantIdx>, FieldIdx, Ty<'tcx>), )
Invokes f on all direct fields of ty.
f
ty