Struct fallible_iterator::Take
[−]
[src]
pub struct Take<I> {
// some fields omitted
}An iterator which yeilds a limited number of elements from the underlying iterator.
pub struct Take<I> {
// some fields omitted
}An iterator which yeilds a limited number of elements from the underlying iterator.
impl<I> FallibleIterator for Take<I> where I: FallibleIteratortype Item = I::Itemtype Error = I::Errorfn next(&mut self) -> Result<Option<I::Item>, I::Error>fn size_hint(&self) -> (usize, Option<usize>)fn by_ref(&mut self) -> &mut Self where Self: Sizedfn chain<I>(self, it: I) -> Chain<Self, I> where I: IntoFallibleIterator<Item=Self::Item, Error=Self::Error>, Self: Sizedfn cloned<'a, T>(self) -> Cloned<Self> where Self: Sized + FallibleIterator<Item=&'a T>, T: 'a + Clonefn count(self) -> Result<usize, Self::Error> where Self: Sizedfn collect<T>(self) -> Result<T, Self::Error> where T: FromFallibleIterator<Self::Item>, Self: Sizedfn enumerate(self) -> Enumerate<Self> where Self: Sizedfn fuse(self) -> Fuse<Self> where Self: Sizedfn last(self) -> Result<Option<Self::Item>, Self::Error> where Self: Sizedfn map<B, F>(self, f: F) -> Map<Self, F> where F: FnMut(Self::Item) -> B, Self: Sizedfn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>fn peekable(self) -> Peekable<Self> where Self: Sizedfn rev(self) -> Rev<Self> where Self: Sized + DoubleEndedFallibleIteratorfn take(self, n: usize) -> Take<Self> where Self: Sizedimpl<I: Debug> Debug for Take<I>