# pyo3::class::iter - Rust
Keywords: rust, rustlang, rust-lang, iter

# Module pyo3::class::iter [−] [src]

Python Iterator Interface. Trait and support implementation for implementing iterators

## Enums

IterNextOutput | Output of `__next__` which can either `yield` the next value in the iteration, or `return` a value to raise `StopIteration` in Python.

## Traits

PyIterIterProtocol |
PyIterNextProtocol |
PyIterProtocol | Python Iterator Interface.

## Type Definitions

PyIterNextOutput |