pub fn from_iter<I: IntoIterator>(it: I) -> FromIter<I::IntoIter>Notable traits for FromIter<I>impl<'__, I: ?Sized + Iterator> LendingIteratorඞItem<'__, &'__ FromIter<I>> for FromIter<I>    type T = I::Item;
Expand description

“Lifts” / converts an [Into]Iterator into an impl LendingIterator

  • This is a free function version of the .into_lending_iter() method provided by the eponymous extension trait.

    That is, feel free to check out that extension method, since in practice it’s even more ergonomic to use.