Iteration and generators
Iteration either consumes an owned iterable or lends access to a collection. Comprehensions build fallible collection results. Generators own concrete frames and resume only when advanced; construction and frame management add no heap allocation.
- Iterable values and borrowing
- Comprehensions and collection construction
- Generators
- Enumeration and paired iteration
- Reverse traversal
- Local iterator pipelines
Loop control defines binding scope, break,
continue, and return checking. Collections
and text define their operations and ordering.