---
layout: "default"
title: "Zip2Generator"
description: "Swift documentation for 'Zip2Generator': A generator for Zip2Sequence."
keywords: "Zip2Generator,struct,swift,documentation,next,Element"
root: "/v2.0"
---

<div class="intro-declaration"><code class="language-swift">struct Zip2Generator&lt;Generator1 : GeneratorType, Generator2 : GeneratorType&gt;</code></div>

<div class="discussion comment">
    <p>A generator for <code>Zip2Sequence</code>.</p>
</div>

<table class="standard">
<tr>
<th id="inheri