Mojo module
iter
Traits
-
Iterable
: TheIterator
trait describes a type that can be turned into an iterator. -
Iterator
: TheIterator
trait describes a type that can be used as an iterator, e.g. in afor
loop.
Functions
-
enumerate
: Theenumerate
function returns an iterator that yields tuples of the index and the element of the original iterator. -
iter
: -
map
: Returns an iterator appliesfunc
to each element of the input iterable. -
next
: -
zip
: Returns an iterator that yields tuples of the elements of the original iterables.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!