pub trait ListFn: Sized { type Item; type End; fn next(self) -> ListState<Self>; }
A function which returns a list.
A list item type.
A value which is returned when the list has no more items.
The main function which returns a list.
Any &mut Iterator is a ListFn<End = Self>.
&mut Iterator
ListFn<End = Self>
Converts an iterator into a list.
Option as a list.