Function rupta::util::type_util::projections_and_types
source · pub fn projections_and_types<'tcx>(
tcx: TyCtxt<'tcx>,
ty: Ty<'tcx>
) -> Vec<(ProjectionElems, Ty<'tcx>)>Expand description
Returns a vector of field projections paired with their corresponding types contained in the given type