---
layout: "default"
title: "EnumerateGenerator"
description: "Swift documentation for 'EnumerateGenerator': The GeneratorType for EnumerateSequence.  EnumerateGenerator."
keywords: "EnumerateGenerator,struct,swift,documentation,generate,next,Element,Generator"
root: "/v1.2"
---

<div class="intro-declaration"><code class="language-swift">struct EnumerateGenerator&lt;Base : GeneratorType&gt;</code></div>

<div class="discussion comment">
    <p>The <code>GeneratorType</code> for <code>EnumerateSequence</co