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

pub trait IteratorExt: Iterator {
    fn chain_with<F, I>(self, f: F) -> ChainWith<Self, F, I::IntoIter>

Notable traits for ChainWith<B, F, I::IntoIter>

impl<B, F, I> Iterator for ChainWith<B, F, I::IntoIter> where
    B: Iterator,
    F: FnOnce() -> I,
    I: IntoIterator<Item = B::Item>, 
type Item = I::Item;

    where
        Self: Sized,
        F: FnOnce() -> I,
        I: IntoIterator<Item = Self::Item>
, { ... } }

Provided methods

fn chain_with<F, I>(self, f: F) -> ChainWith<Self, F, I::IntoIter>

Notable traits for ChainWith<B, F, I::IntoIter>

impl<B, F, I> Iterator for ChainWith<B, F, I::IntoIter> where
    B: Iterator,
    F: FnOnce() -> I,
    I: IntoIterator<Item = B::Item>, 
type Item = I::Item;
where
    Self: Sized,
    F: FnOnce() -> I,
    I: IntoIterator<Item = Self::Item>, 
[src]

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

Loading content...

Implementors

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

Loading content...