Struct streaming_iterator::Convert [−][src]
pub struct Convert<I> where
I: Iterator, { /* fields omitted */ }
A streaming iterator which yields elements from a normal, non-streaming, iterator.
Trait Implementations
impl<I: Clone> Clone for Convert<I> where
I: Iterator,
I::Item: Clone,
[src]
impl<I: Clone> Clone for Convert<I> where
I: Iterator,
I::Item: Clone,
[src]fn clone(&self) -> Convert<I>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<I> DoubleEndedStreamingIterator for Convert<I> where
I: DoubleEndedIterator,
[src]
impl<I> DoubleEndedStreamingIterator for Convert<I> where
I: DoubleEndedIterator,
[src]impl<I> DoubleEndedStreamingIteratorMut for Convert<I> where
I: DoubleEndedIterator,
[src]
impl<I> DoubleEndedStreamingIteratorMut for Convert<I> where
I: DoubleEndedIterator,
[src]impl<I> StreamingIterator for Convert<I> where
I: Iterator,
[src]
impl<I> StreamingIterator for Convert<I> where
I: Iterator,
[src]type Item = I::Item
The type of the elements being iterated over.
fn advance(&mut self)
[src]
fn get(&self) -> Option<&I::Item>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> usize
[src]
fn fold<Acc, Fold>(self, init: Acc, f: Fold) -> Acc where
Self: Sized,
Fold: FnMut(Acc, &Self::Item) -> Acc,
[src]
Self: Sized,
Fold: FnMut(Acc, &Self::Item) -> Acc,
fn next(&mut self) -> Option<&Self::Item>
[src]
fn all<F>(&mut self, f: F) -> bool where
Self: Sized,
F: FnMut(&Self::Item) -> bool,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
fn any<F>(&mut self, f: F) -> bool where
Self: Sized,
F: FnMut(&Self::Item) -> bool,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
fn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, other: I) -> Chain<Self, I> where
Self: Sized,
I: StreamingIterator<Item = Self::Item> + Sized,
[src]
Self: Sized,
I: StreamingIterator<Item = Self::Item> + Sized,
fn cloned(self) -> Cloned<Self>ⓘ where
Self: Sized,
Self::Item: Clone,
[src]
Self: Sized,
Self::Item: Clone,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> bool,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, B, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Option<B>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Option<B>,
fn flat_map<J, F>(self, f: F) -> FlatMap<Self, J, F> where
Self: Sized,
J: StreamingIterator,
F: FnMut(&Self::Item) -> J,
[src]
Self: Sized,
J: StreamingIterator,
F: FnMut(&Self::Item) -> J,
fn filter_map_deref<B, F>(self, f: F) -> FilterMapDeref<Self, F>ⓘNotable traits for FilterMapDeref<I, F>
impl<I, B, F> Iterator for FilterMapDeref<I, F> where
I: StreamingIterator,
F: FnMut(&I::Item) -> Option<B>, type Item = B;
where
Self: Sized,
F: FnMut(&Self::Item) -> Option<B>,
[src]
Notable traits for FilterMapDeref<I, F>
impl<I, B, F> Iterator for FilterMapDeref<I, F> where
I: StreamingIterator,
F: FnMut(&I::Item) -> Option<B>, type Item = B;
Self: Sized,
F: FnMut(&Self::Item) -> Option<B>,
fn find<F>(&mut self, f: F) -> Option<&Self::Item> where
Self: Sized,
F: FnMut(&Self::Item) -> bool,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item),
Self: Sized,
[src]
F: FnMut(&Self::Item),
Self: Sized,
fn map<B, F>(self, f: F) -> Map<Self, B, F> where
Self: Sized,
F: FnMut(&Self::Item) -> B,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> B,
fn map_deref<B, F>(self, f: F) -> MapDeref<Self, F>ⓘ where
Self: Sized,
F: FnMut(&Self::Item) -> B,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> B,
fn map_ref<B: ?Sized, F>(self, f: F) -> MapRef<Self, F> where
Self: Sized,
F: Fn(&Self::Item) -> &B,
[src]
Self: Sized,
F: Fn(&Self::Item) -> &B,
fn nth(&mut self, n: usize) -> Option<&Self::Item>
[src]
fn position<F>(&mut self, f: F) -> Option<usize> where
Self: Sized,
F: FnMut(&Self::Item) -> bool,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<F>(self, f: F) -> SkipWhile<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> bool,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn take_while<F>(self, f: F) -> TakeWhile<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> bool,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedStreamingIterator,
[src]
Self: Sized + DoubleEndedStreamingIterator,
fn for_each<F>(self, f: F) where
Self: Sized,
F: FnMut(&Self::Item),
[src]
Self: Sized,
F: FnMut(&Self::Item),
impl<I> StreamingIteratorMut for Convert<I> where
I: Iterator,
[src]
impl<I> StreamingIteratorMut for Convert<I> where
I: Iterator,
[src]fn get_mut(&mut self) -> Option<&mut I::Item>
[src]
fn fold_mut<B, F>(self, init: B, f: F) -> B where
Self: Sized,
F: FnMut(B, &mut Self::Item) -> B,
[src]
Self: Sized,
F: FnMut(B, &mut Self::Item) -> B,
fn next_mut(&mut self) -> Option<&mut Self::Item>
[src]
fn for_each_mut<F>(self, f: F) where
Self: Sized,
F: FnMut(&mut Self::Item),
[src]
Self: Sized,
F: FnMut(&mut Self::Item),
fn map_deref_mut<B, F>(self, f: F) -> MapDerefMut<Self, F>ⓘNotable traits for MapDerefMut<I, F>
impl<I, B, F> Iterator for MapDerefMut<I, F> where
I: StreamingIteratorMut,
F: FnMut(&mut I::Item) -> B, type Item = B;
where
Self: Sized,
F: FnMut(&mut Self::Item) -> B,
[src]
Notable traits for MapDerefMut<I, F>
impl<I, B, F> Iterator for MapDerefMut<I, F> where
I: StreamingIteratorMut,
F: FnMut(&mut I::Item) -> B, type Item = B;
Self: Sized,
F: FnMut(&mut Self::Item) -> B,
fn find_mut<F>(&mut self, f: F) -> Option<&mut Self::Item> where
Self: Sized,
F: FnMut(&Self::Item) -> bool,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
Auto Trait Implementations
impl<I> Send for Convert<I> where
I: Send,
<I as Iterator>::Item: Send,
I: Send,
<I as Iterator>::Item: Send,
impl<I> Sync for Convert<I> where
I: Sync,
<I as Iterator>::Item: Sync,
I: Sync,
<I as Iterator>::Item: Sync,
impl<I> Unpin for Convert<I> where
I: Unpin,
<I as Iterator>::Item: Unpin,
I: Unpin,
<I as Iterator>::Item: Unpin,