A skeleton code for Iterator in Rust

For record, I wrote down the same code.

Consuming Iterator

Iterator that does not consume items

Advertisements