Trait list_fn::ListFn[][src]

pub trait ListFn: Sized {
    type Item;
    type End;
    fn next(self) -> ListState<Self>;
}
Expand description

A function which returns a list.

Associated Types

A list item type.

A value which is returned when the list has no more items.

Required methods

The main function which returns a list.

Implementations on Foreign Types

Any &mut Iterator is a ListFn<End = Self>.

Converts an iterator into a list.

Option as a list.

Implementors