Trait core::iter::CloneIteratorExtExperimental [-]  [+] [src]

pub trait CloneIteratorExt<A> {
    fn cloned(self) -> Cloned<Self>;
}

A trait for iterators that contain cloneable elements

Required Methods

fn cloned(self) -> Cloned<Self>

Creates an iterator that clones the elements it yields. Useful for converting an Iterator<&T> to an Iterator.

Implementors