pub trait IteratorLazyExt: Iterator + Sized {
    // Required method
    fn collect_lazy<T>(self) -> LazyList<T, Self>;
}
Expand description

Extension trait for Iterator, providing lazy list operations.

Required Methods§

source

fn collect_lazy<T>(self) -> LazyList<T, Self>

Collects the elements of an iterator into a LazyList.

Equivalent to LazyList::new.

Object Safety§

This trait is not object safe.

Implementors§