Trait core::iter::IteratorCloneExtUnstable
[-]
[+]
[src]
pub trait IteratorCloneExt<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
impl<A: Clone, D: Deref<A>, I: Iterator<D>> IteratorCloneExt<A> for I