rustc_mir_dataflow::value_analysis

Function iter_fields

Source
pub fn iter_fields<'tcx>(
    ty: Ty<'tcx>,
    tcx: TyCtxt<'tcx>,
    typing_env: TypingEnv<'tcx>,
    f: impl FnMut(Option<VariantIdx>, FieldIdx, Ty<'tcx>),
)
Expand description

Invokes f on all direct fields of ty.