Skip to main content

IteratorExt

Trait IteratorExt 

Source
pub trait IteratorExt<I: Iterator> {
    // Required method
    fn into_lender(self) -> FromIter<I>;
}
Expand description

Extension trait adding to Iterator the method into_lender, which turns an Iterator into a Lender without allocation.

Required Methods§

Source

fn into_lender(self) -> FromIter<I>

Turn this Iterator into a Lender without allocation.

This method is a convenient entry point for from_iter.

Implementors§

Source§

impl<I: Iterator> IteratorExt<I> for I