Struct fallible_iterator::Cloned
[−]
[src]
pub struct Cloned<I>(_);
An iterator which clones the elements of the underlying iterator.
pub struct Cloned<I>(_);
An iterator which clones the elements of the underlying iterator.
impl<'a, T, I> FallibleIterator for Cloned<I> where I: FallibleIterator<Item=&'a T>, T: 'a + Clone
type Item = T
type Error = I::Error
fn next(&mut self) -> Result<Option<T>, I::Error>
fn size_hint(&self) -> (usize, Option<usize>)
fn count(self) -> Result<usize, I::Error>
fn by_ref(&mut self) -> &mut Self where Self: Sized
fn chain<I>(self, it: I) -> Chain<Self, I> where I: IntoFallibleIterator<Item=Self::Item, Error=Self::Error>, Self: Sized
fn cloned<'a, T>(self) -> Cloned<Self> where Self: Sized + FallibleIterator<Item=&'a T>, T: 'a + Clone
fn collect<T>(self) -> Result<T, Self::Error> where T: FromFallibleIterator<Self::Item>, Self: Sized
fn enumerate(self) -> Enumerate<Self> where Self: Sized
fn fuse(self) -> Fuse<Self> where Self: Sized
fn last(self) -> Result<Option<Self::Item>, Self::Error> where Self: Sized
fn map<B, F>(self, f: F) -> Map<Self, F> where F: FnMut(Self::Item) -> B, Self: Sized
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
fn peekable(self) -> Peekable<Self> where Self: Sized
fn rev(self) -> Rev<Self> where Self: Sized + DoubleEndedFallibleIterator
fn take(self, n: usize) -> Take<Self> where Self: Sized
impl<'a, T, I> DoubleEndedFallibleIterator for Cloned<I> where I: DoubleEndedFallibleIterator<Item=&'a T>, T: 'a + Clone
impl<I: Debug> Debug for Cloned<I>