leCollectionType</code></div>

<div class="discussion comment">
    <p>A <em>collection</em> that supports subscript assignment.</p>

<p>For any instance <code>a</code> of a type conforming to
<code>MutableCollectionType</code>, :</p>

<pre><code class="language-swift">a[i] = x
let y = a[i]</code></pre>

<p>is equivalent to:</p>

<pre><code class="language-swift">a[i] = x
let y = x</code></pre>
</div>

<table class="standard">
<tr>
<th id="inheritance">Inheritance</th>
<td>
<code class="inherits">Collection