Trait grabbag::iter::CloneEachIterator [] [src]

pub trait CloneEachIterator<'a, E>: Iterator<Item=&'a E> + Sized where E: 'a + Clone {
    fn clone_each(self) -> CloneEach<Self> { ... }
}

( a0, a1, ... )  →  ( a0.clone(), a1.clone(), ... )

Provided Methods

fn clone_each(self) -> CloneEach<Self>

Creates an iterator which will clone each element of the input iterator.

Implementors