Struct std::iter::ClonedExperimental [-]  [+] [src]

pub struct Cloned<I> {
    // some fields omitted
}

An iterator that clones the elements of an underlying iterator

Trait Implementations

impl<A: Clone, D: Deref<A>, I: Iterator<D>> Iterator<A> for Cloned<I>

fn next(&mut self) -> Option<A>

fn size_hint(&self) -> (uint, Option<uint>)

fn size_hint(&self) -> (uint, Option<uint>)

fn chain<U: Iterator<A>>(self, U) -> Chain<Cloned<I>, U>

fn zip<B, U: Iterator<B>>(self, U) -> Zip<Cloned<I>, U>

fn map<B>(self, |A| -> B) -> Map<'r, A, B, Cloned<I>>

fn filter(self, |&A| -> bool) -> Filter<'r, A, Cloned<I>>

fn filter_map<B>(self, |A| -> Option<B>) -> FilterMap<'r, A, B, Cloned<I>>

fn enumerate(self) -> Enumerate<Cloned<I>>

fn peekable(self) -> Peekable<A, Cloned<I>>

fn skip_while(self, |&A| -> bool) -> SkipWhile<'r, A, Cloned<I>>

fn take_while(self, |&A| -> bool) -> TakeWhile<'r, A, Cloned<I>>

fn skip(self, uint) -> Skip<Cloned<I>>

fn take(self, uint) -> Take<Cloned<I>>

fn scan<St, B>(self, St, |&mut St, A| -> Option<B>) -> Scan<'r, A, B, Cloned<I>, St>

fn flat_map<B, U: Iterator<B>>(self, |A| -> U) -> FlatMap<'r, A, Cloned<I>, U>

fn fuse(self) -> Fuse<Cloned<I>>

fn inspect(self, |&A|) -> Inspect<'r, A, Cloned<I>>

fn by_ref(&'r mut self) -> ByRef<'r, Cloned<I>>

fn collect<B: FromIterator<A>>(&mut self) -> B

fn nth(&mut self, uint) -> Option<A>

fn last(&mut self) -> Option<A>

fn fold<B>(&mut self, B, |B, A| -> B) -> B

fn count(&mut self) -> uint

fn all(&mut self, |A| -> bool) -> bool

fn any(&mut self, |A| -> bool) -> bool

fn find(&mut self, |&A| -> bool) -> Option<A>

fn position(&mut self, |A| -> bool) -> Option<uint>

fn max_by<B: Ord>(&mut self, |&A| -> B) -> Option<A>

fn min_by<B: Ord>(&mut self, |&A| -> B) -> Option<A>

impl<A: Clone, D: Deref<A>, I: DoubleEndedIterator<D>> DoubleEndedIterator<A> for Cloned<I>

fn next_back(&mut self) -> Option<A>

fn rev(self) -> Rev<Cloned<I>>

impl<A: Clone, D: Deref<A>, I: ExactSize<D>> ExactSize<A> for Cloned<I>

fn rposition(&mut self, |A| -> bool) -> Option<uint>

fn len(&self) -> uint