Function rupta::util::type_util::get_field_type
source · pub fn get_field_type<'tcx>(
tcx: TyCtxt<'tcx>,
base_ty: Ty<'tcx>,
ordinal: usize
) -> Ty<'tcx>Expand description
Returns the type of the field with the given ordinal.