---
title: UnsafeBufferPointer.Iterator
framework: swift
role: symbol
role_heading: Structure
path: swift/unsafebufferpointer/iterator
---

# UnsafeBufferPointer.Iterator

An iterator for the elements in the buffer referenced by an UnsafeBufferPointer or UnsafeMutableBufferPointer instance.

## Declaration

```swift
@frozen struct Iterator
```

## Topics

### Default Implementations

- [IteratorProtocol Implementations](swift/unsafebufferpointer/iterator/iteratorprotocol-implementations.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [IteratorProtocol](swift/iteratorprotocol.md)
