ence when conforming to
    <code>RandomAccessSequenceType</code>.
  - <code>end</code> is reachable from <code>self</code> by incrementation otherwise.</p>

<p><strong>Complexity:</strong>
  - O(1) if conforming to <code>RandomAccessIndexType</code>
  - O(<code>n</code>) otherwise, where <code>n</code> is the function&#39;s result.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func distanceTo(end: Self) -&gt; Self.Distance</code>
    
    
</div></div>
</div>
<div class="declaration in