Skip to main content

walk_fields

Function walk_fields 

Source
fn walk_fields<'tcx>(
    tcx: TyCtxt<'tcx>,
    current_ty: Ty<'tcx>,
    field_indices: Vec<(usize, Ty<'tcx>)>,
    fields: &[String],
) -> Option<(Vec<(usize, Ty<'tcx>)>, Ty<'tcx>)>
Expand description

Walk a list of field names from current_ty, appending (index, ty) pairs.