[][src]Trait swc_common::util::iter::IteratorExt

pub trait IteratorExt: Iterator {
    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

Important traits for ChainWith<B, F, I::IntoIter>
fn chain_with<F, I>(self, f: F) -> ChainWith<Self, F, I::IntoIter> where
    Self: Sized,
    F: FnOnce() -> I,
    I: IntoIterator<Item = Self::Item>, 

Copied from https://stackoverflow.com/a/49456265/6193633

Loading content...

Implementors

impl<I: Iterator> IteratorExt for I[src]

Loading content...