fn iter_fields<'tcx>(
    ty: Ty<'tcx>,
    tcx: TyCtxt<'tcx>,
    f: impl FnMut(Option<VariantIdx>, Field, Ty<'tcx>)
)
Expand description

Invokes f on all direct fields of ty.