WINTER SALE IS ON!
Iterator

Iterator in Rust

Iterator is a behavioral design pattern that allows sequential traversal through a complex data structure without exposing its internal details.

Thanks to the Iterator, clients can go over elements of different collections in a similar fashion using a single iterator interface.

Iterator in Other Languages

Iterator in C# Iterator in C++ Iterator in Go Iterator in Java Iterator in PHP Iterator in Python Iterator in Ruby Iterator in Swift Iterator in TypeScript