pub fn from_iter<I: IntoIterator>(it: I) -> FromIter<I::IntoIter> 
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.