Trait lazy_list::IteratorLazyExt
source · 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§
sourcefn collect_lazy<T>(self) -> LazyList<T, Self>
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.