Skip to content

Iter

Module: core.iter
Source: core/iter.zn

Iterator[T]

Main Iterator interface


pub fn next(*self) Option[T];

PtrIterator[T]

Returns struct that implements Iterator with pointer access


pub fn iter[I: Iterator](*self) I;

OwnedIterator[T]

Converter from ownership self to struct with Iterator implementation


pub fn into_iter[I: Iterator](self) I;