pub trait IteratorExt: Iterator {
// Provided method
fn chain_with<F, I>(self, f: F) -> ChainWith<Self, F, I::IntoIter>
where Self: Sized,
F: FnOnce() -> I,
I: IntoIterator<Item = Self::Item> { ... }
}
Provided Methods§
sourcefn chain_with<F, I>(self, f: F) -> ChainWith<Self, F, I::IntoIter>
fn chain_with<F, I>(self, f: F) -> ChainWith<Self, F, I::IntoIter>
Copied from https://stackoverflow.com/a/49456265/6193633