---
layout: "default"
title: "SetIterator"
description: "Swift documentation for 'SetIterator': An iterator over the members of a Set&lt;Element&gt;."
keywords: "SetIterator,struct,swift,documentation,next,customMirror"
root: "/v3.0"
---

<div class="intro-declaration"><code class="language-swift">struct SetIterator&lt;Element : Hashable&gt;</code></div>

<div class="discussion comment">
    <p>An iterator over the members of a <code>Set&lt;Element&gt;</code>.</p>
</div>

<table class="standard">
<tr>
<th i