| Crates.io | ad-hoc-iterator |
| lib.rs | ad-hoc-iterator |
| version | 0.2.3 |
| created_at | 2023-09-13 15:34:44.854093+00 |
| updated_at | 2023-09-13 15:47:01.207435+00 |
| description | Create an ad hoc iterator. |
| homepage | |
| repository | https://github.com/Garbaz/ad-hoc-iterator |
| max_upload_size | |
| id | 971596 |
| size | 5,191 |
‖ Docs.rs ‖ Lib.rs ‖ Crates.io ‖
The Iterator Trait is very useful. The problem ist just that we can't simply construct an iterator in-place, but rather have to define a struct, impl the Iterator trait for it, and then return a value of that struct. This crates exists to alleviate that inconvenience.