AlternWith

Trait AlternWith 

Source
pub trait AlternWith<T1: Iterator<Item = A>, A> {
    // Required method
    fn altern_with<T2: Iterator<Item = A>>(
        self,
        other: T2,
    ) -> BiAltern<T1, T2, A> 
       where Self: Sized;
}
Expand description

Trait to convert to a BiAltern iterator Implemented on Iterator

Required Methods§

Source

fn altern_with<T2: Iterator<Item = A>>(self, other: T2) -> BiAltern<T1, T2, A>
where Self: Sized,

Create the BiAltern, with self and an other iterator

Implementors§

Source§

impl<T1: Iterator<Item = A>, A> AlternWith<T1, A> for T1