Trait gat_std::iter::IntoLending

source ·
pub trait IntoLending: Sized {
    fn into_lending(self) -> FromCore<Self>;
}
Expand description

Trait for converting a normal, non-lending iterator into a lending iterator.

This is useful for methods such as Iterator::zip, where you may want to combine a standard iterator onto a lending one.

Required Methods§

Convert this iterator into a lending one

Implementors§