Iterator.
By implementing IntoIterator for a type, you define how it will be
converted to an iterator. This is common for types which describe a
collection of some kind.
One benefit of implementing IntoIterator is that your type will work
with Cairo’s for loop syntax.
See also: FromIterator.
Signature
Examples
Basic usage:IntoIterator for your type: