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§
sourcefn into_lending(self) -> FromCore<Self>
fn into_lending(self) -> FromCore<Self>
Convert this iterator into a lending one