Trait list_fn::ListFn

source ·
pub trait ListFn: Sized {
    type Item;
    type End;

    fn next(self) -> ListState<Self>;
}
Expand description

A function which returns a list.

Required 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§

impl<T: UInt> ListFn for BitVec<T>

impl ListFn for ByteList