Skip to content

Glossary: Rust Beyond the Basics

Iterator

Also written: iterator, iterators, next

A value that produces a series of items one at a time through `next()`, which returns `Some(item)` until it returns `None`. Implement the trait for your own type to get every adapter and consumer.

Where the book teaches it

Related terms

adapterconsumerlazyassociated type