Function rustc_mir_dataflow::value_analysis::iter_fields

source ยท
pub fn iter_fields<'tcx>(
    ty: Ty<'tcx>,
    tcx: TyCtxt<'tcx>,
    param_env: ParamEnv<'tcx>,
    f: impl FnMut(Option<VariantIdx>, FieldIdx, Ty<'tcx>),
)
Expand description

Invokes f on all direct fields of ty.