Trait rin::ecs::streaming_iterator::StreamingIterator [−][src]
pub trait StreamingIterator { type Item: ?Sized;}Show methods
pub fn advance(&mut self); pub fn get(&self) -> Option<&Self::Item>; pub fn next(&mut self) -> Option<&Self::Item> { ... } pub fn size_hint(&self) -> (usize, Option<usize>) { ... } pub fn all<F>(&mut self, f: F) -> bool
where
F: FnMut(&Self::Item) -> bool, { ... } pub fn any<F>(&mut self, f: F) -> bool
where
F: FnMut(&Self::Item) -> bool, { ... } pub fn by_ref(&mut self) -> &mut Self { ... } pub fn chain<I>(self, other: I) -> Chain<Self, I>
where
I: StreamingIterator<Item = Self::Item>, { ... } pub fn cloned(self) -> Cloned<Self>ⓘNotable traits for Cloned<I>
impl<I> Iterator for Cloned<I> where
I: StreamingIterator,
<I as StreamingIterator>::Item: Clone, type Item = <I as StreamingIterator>::Item;
where
Self::Item: Clone, { ... } pub fn count(self) -> usize { ... } pub fn filter<F>(self, f: F) -> Filter<Self, F>
where
F: FnMut(&Self::Item) -> bool, { ... } pub fn filter_map<B, F>(self, f: F) -> FilterMap<Self, B, F>
where
F: FnMut(&Self::Item) -> Option<B>, { ... } pub fn flat_map<J, F>(self, f: F) -> FlatMap<Self, J, F>
where
F: FnMut(&Self::Item) -> J,
J: StreamingIterator, { ... } pub 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
F: FnMut(&<I as StreamingIterator>::Item) -> Option<B>,
I: StreamingIterator, type Item = B;
where
F: FnMut(&Self::Item) -> Option<B>, { ... } pub fn find<F>(&mut self, f: F) -> Option<&Self::Item>
where
F: FnMut(&Self::Item) -> bool, { ... } pub fn fuse(self) -> Fuse<Self> { ... } pub fn inspect<F>(self, f: F) -> Inspect<Self, F>
where
F: FnMut(&Self::Item), { ... } pub fn map<B, F>(self, f: F) -> Map<Self, B, F>
where
F: FnMut(&Self::Item) -> B, { ... } pub fn map_deref<B, F>(self, f: F) -> MapDeref<Self, F>ⓘNotable traits for MapDeref<I, F>
impl<I, B, F> Iterator for MapDeref<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> B,
I: StreamingIterator, type Item = B;
where
F: FnMut(&Self::Item) -> B, { ... } pub fn map_ref<B, F>(self, f: F) -> MapRef<Self, F>
where
B: ?Sized,
F: Fn(&Self::Item) -> &B, { ... } pub fn nth(&mut self, n: usize) -> Option<&Self::Item> { ... } pub fn position<F>(&mut self, f: F) -> Option<usize>
where
F: FnMut(&Self::Item) -> bool, { ... } pub fn skip(self, n: usize) -> Skip<Self> { ... } pub fn skip_while<F>(self, f: F) -> SkipWhile<Self, F>
where
F: FnMut(&Self::Item) -> bool, { ... } pub fn take(self, n: usize) -> Take<Self> { ... } pub fn take_while<F>(self, f: F) -> TakeWhile<Self, F>
where
F: FnMut(&Self::Item) -> bool, { ... } pub fn rev(self) -> Rev<Self>
where
Self: DoubleEndedStreamingIterator, { ... } pub fn fold<B, F>(self, init: B, f: F) -> B
where
F: FnMut(B, &Self::Item) -> B, { ... } pub fn for_each<F>(self, f: F)
where
F: FnMut(&Self::Item), { ... }
An interface for dealing with streaming iterators.
Associated Types
Loading content...Required methods
pub fn advance(&mut self)
[src]
Advances the iterator to the next element.
Iterators start just before the first element, so this should be called before get
.
The behavior of calling this method after the end of the iterator has been reached is unspecified.
pub fn get(&self) -> Option<&Self::Item>
[src]
Returns a reference to the current element of the iterator.
The behavior of calling this method before advance
has been called is unspecified.
Provided methods
pub fn next(&mut self) -> Option<&Self::Item>
[src]
Advances the iterator and returns the next value.
The behavior of calling this method after the end of the iterator has been reached is unspecified.
The default implementation simply calls advance
followed by get
.
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
Returns the bounds on the remaining length of the iterator.
pub fn all<F>(&mut self, f: F) -> bool where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
Determines if all elements of the iterator satisfy a predicate.
pub fn any<F>(&mut self, f: F) -> bool where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
Determines if any elements of the iterator satisfy a predicate.
pub fn by_ref(&mut self) -> &mut Self
[src]
Borrows an iterator, rather than consuming it.
This is useful to allow the application of iterator adaptors while still retaining ownership of the original adaptor.
pub fn chain<I>(self, other: I) -> Chain<Self, I> where
I: StreamingIterator<Item = Self::Item>,
[src]
I: StreamingIterator<Item = Self::Item>,
Consumes two iterators and returns a new iterator that iterates over both in sequence.
pub fn cloned(self) -> Cloned<Self>ⓘNotable traits for Cloned<I>
impl<I> Iterator for Cloned<I> where
I: StreamingIterator,
<I as StreamingIterator>::Item: Clone, type Item = <I as StreamingIterator>::Item;
where
Self::Item: Clone,
[src]
Notable traits for Cloned<I>
impl<I> Iterator for Cloned<I> where
I: StreamingIterator,
<I as StreamingIterator>::Item: Clone, type Item = <I as StreamingIterator>::Item;
Self::Item: Clone,
Produces a normal, non-streaming, iterator by cloning the elements of this iterator.
pub fn count(self) -> usize
[src]
Consumes the iterator, counting the number of remaining elements and returning it.
pub fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
Creates an iterator which uses a closure to determine if an element should be yielded.
pub fn filter_map<B, F>(self, f: F) -> FilterMap<Self, B, F> where
F: FnMut(&Self::Item) -> Option<B>,
[src]
F: FnMut(&Self::Item) -> Option<B>,
Creates an iterator which both filters and maps by applying a closure to elements.
pub fn flat_map<J, F>(self, f: F) -> FlatMap<Self, J, F> where
F: FnMut(&Self::Item) -> J,
J: StreamingIterator,
[src]
F: FnMut(&Self::Item) -> J,
J: StreamingIterator,
Creates an iterator which flattens iterators obtained by applying a closure to elements. Note that the returned iterators must be streaming iterators.
pub 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
F: FnMut(&<I as StreamingIterator>::Item) -> Option<B>,
I: StreamingIterator, type Item = B;
where
F: FnMut(&Self::Item) -> Option<B>,
[src]
Notable traits for FilterMapDeref<I, F>
impl<I, B, F> Iterator for FilterMapDeref<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> Option<B>,
I: StreamingIterator, type Item = B;
F: FnMut(&Self::Item) -> Option<B>,
Creates a regular, non-streaming iterator which both filters and maps by applying a closure to elements.
pub fn find<F>(&mut self, f: F) -> Option<&Self::Item> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
Returns the first element of the iterator that satisfies the predicate.
pub fn fuse(self) -> Fuse<Self>
[src]
Creates an iterator which is “well behaved” at the beginning and end of iteration.
The behavior of calling get
before iteration has been started, and of continuing to call
advance
after get
has returned None
is normally unspecified, but this guarantees that
get
will return None
in both cases.
pub fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item),
[src]
F: FnMut(&Self::Item),
Call a closure on each element, passing the element on.
The closure is called upon calls to advance
or advance_back
, and exactly once per element
regardless of how many times (if any) get
is called.
pub fn map<B, F>(self, f: F) -> Map<Self, B, F> where
F: FnMut(&Self::Item) -> B,
[src]
F: FnMut(&Self::Item) -> B,
Creates an iterator which transforms elements of this iterator by passing them to a closure.
pub fn map_deref<B, F>(self, f: F) -> MapDeref<Self, F>ⓘNotable traits for MapDeref<I, F>
impl<I, B, F> Iterator for MapDeref<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> B,
I: StreamingIterator, type Item = B;
where
F: FnMut(&Self::Item) -> B,
[src]
Notable traits for MapDeref<I, F>
impl<I, B, F> Iterator for MapDeref<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> B,
I: StreamingIterator, type Item = B;
F: FnMut(&Self::Item) -> B,
Creates a regular, non-streaming iterator which transforms elements of this iterator by passing them to a closure.
pub fn map_ref<B, F>(self, f: F) -> MapRef<Self, F> where
B: ?Sized,
F: Fn(&Self::Item) -> &B,
[src]
B: ?Sized,
F: Fn(&Self::Item) -> &B,
Creates an iterator which transforms elements of this iterator by passing them to a closure.
Unlike map
, this method takes a closure that returns a reference into the original value.
pub fn nth(&mut self, n: usize) -> Option<&Self::Item>
[src]
Consumes the first n
elements of the iterator, returning the next one.
pub fn position<F>(&mut self, f: F) -> Option<usize> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
Returns the index of the first element of the iterator matching a predicate.
pub fn skip(self, n: usize) -> Skip<Self>
[src]
Creates an iterator which skips the first n
elements.
pub fn skip_while<F>(self, f: F) -> SkipWhile<Self, F> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
Creates an iterator that skips initial elements matching a predicate.
pub fn take(self, n: usize) -> Take<Self>
[src]
Creates an iterator which only returns the first n
elements.
pub fn take_while<F>(self, f: F) -> TakeWhile<Self, F> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
Creates an iterator which only returns initial elements matching a predicate.
pub fn rev(self) -> Rev<Self> where
Self: DoubleEndedStreamingIterator,
[src]
Self: DoubleEndedStreamingIterator,
Creates an iterator which returns elemens in the opposite order.
pub fn fold<B, F>(self, init: B, f: F) -> B where
F: FnMut(B, &Self::Item) -> B,
[src]
F: FnMut(B, &Self::Item) -> B,
Reduces the iterator’s elements to a single, final value.
pub fn for_each<F>(self, f: F) where
F: FnMut(&Self::Item),
[src]
F: FnMut(&Self::Item),
Calls a closure on each element of an iterator.
Implementations on Foreign Types
impl<'a, I> StreamingIterator for &'a mut I where
I: StreamingIterator + ?Sized,
[src]
impl<'a, I> StreamingIterator for &'a mut I where
I: StreamingIterator + ?Sized,
[src]Implementors
impl<'a, I, T> StreamingIterator for ConvertMut<'a, I, T> where
T: ?Sized,
I: Iterator<Item = &'a mut T>,
[src]
impl<'a, I, T> StreamingIterator for ConvertMut<'a, I, T> where
T: ?Sized,
I: Iterator<Item = &'a mut T>,
[src]type Item = T
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&T>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn count(self) -> usize
[src]
pub fn fold<Acc, Fold>(self, init: Acc, f: Fold) -> Acc where
Fold: FnMut(Acc, &<ConvertMut<'a, I, T> as StreamingIterator>::Item) -> Acc,
ConvertMut<'a, I, T>: Sized,
[src]
Fold: FnMut(Acc, &<ConvertMut<'a, I, T> as StreamingIterator>::Item) -> Acc,
ConvertMut<'a, I, T>: Sized,
impl<'a, I, T> StreamingIterator for ConvertRef<'a, I, T> where
T: ?Sized,
I: Iterator<Item = &'a T>,
[src]
impl<'a, I, T> StreamingIterator for ConvertRef<'a, I, T> where
T: ?Sized,
I: Iterator<Item = &'a T>,
[src]type Item = T
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&T>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn count(self) -> usize
[src]
pub fn fold<Acc, Fold>(self, init: Acc, f: Fold) -> Acc where
Fold: FnMut(Acc, &<ConvertRef<'a, I, T> as StreamingIterator>::Item) -> Acc,
ConvertRef<'a, I, T>: Sized,
[src]
Fold: FnMut(Acc, &<ConvertRef<'a, I, T> as StreamingIterator>::Item) -> Acc,
ConvertRef<'a, I, T>: Sized,
impl<A, B> StreamingIterator for Chain<A, B> where
B: StreamingIterator<Item = <A as StreamingIterator>::Item>,
A: StreamingIterator,
[src]
impl<A, B> StreamingIterator for Chain<A, B> where
B: StreamingIterator<Item = <A as StreamingIterator>::Item>,
A: StreamingIterator,
[src]impl<I> StreamingIterator for Convert<I> where
I: Iterator,
[src]
impl<I> StreamingIterator for Convert<I> where
I: Iterator,
[src]type Item = <I as Iterator>::Item
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&<I as Iterator>::Item>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn count(self) -> usize
[src]
pub fn fold<Acc, Fold>(self, init: Acc, f: Fold) -> Acc where
Fold: FnMut(Acc, &<Convert<I> as StreamingIterator>::Item) -> Acc,
Convert<I>: Sized,
[src]
Fold: FnMut(Acc, &<Convert<I> as StreamingIterator>::Item) -> Acc,
Convert<I>: Sized,
impl<I> StreamingIterator for Fuse<I> where
I: StreamingIterator,
[src]
impl<I> StreamingIterator for Fuse<I> where
I: StreamingIterator,
[src]type Item = <I as StreamingIterator>::Item
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&<I as StreamingIterator>::Item>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn next(&mut self) -> Option<&<I as StreamingIterator>::Item>
[src]
pub fn count(self) -> usize
[src]
pub fn fold<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &<Fuse<I> as StreamingIterator>::Item) -> Acc,
Fuse<I>: Sized,
[src]
Fold: FnMut(Acc, &<Fuse<I> as StreamingIterator>::Item) -> Acc,
Fuse<I>: Sized,
impl<I> StreamingIterator for Rev<I> where
I: DoubleEndedStreamingIterator,
[src]
impl<I> StreamingIterator for Rev<I> where
I: DoubleEndedStreamingIterator,
[src]type Item = <I as StreamingIterator>::Item
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&<I as StreamingIterator>::Item>
[src]
pub fn next(&mut self) -> Option<&<I as StreamingIterator>::Item>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn fold<Acc, Fold>(self, init: Acc, f: Fold) -> Acc where
Fold: FnMut(Acc, &<Rev<I> as StreamingIterator>::Item) -> Acc,
Rev<I>: Sized,
[src]
Fold: FnMut(Acc, &<Rev<I> as StreamingIterator>::Item) -> Acc,
Rev<I>: Sized,
impl<I> StreamingIterator for Skip<I> where
I: StreamingIterator,
[src]
impl<I> StreamingIterator for Skip<I> where
I: StreamingIterator,
[src]type Item = <I as StreamingIterator>::Item
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&<I as StreamingIterator>::Item>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn fold<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &<Skip<I> as StreamingIterator>::Item) -> Acc,
Skip<I>: Sized,
[src]
Fold: FnMut(Acc, &<Skip<I> as StreamingIterator>::Item) -> Acc,
Skip<I>: Sized,
impl<I> StreamingIterator for Take<I> where
I: StreamingIterator,
[src]
impl<I> StreamingIterator for Take<I> where
I: StreamingIterator,
[src]impl<I, B, F> StreamingIterator for FilterMap<I, B, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> Option<B>,
I: StreamingIterator,
[src]
impl<I, B, F> StreamingIterator for FilterMap<I, B, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> Option<B>,
I: StreamingIterator,
[src]type Item = B
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&B>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn fold<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &<FilterMap<I, B, F> as StreamingIterator>::Item) -> Acc,
FilterMap<I, B, F>: Sized,
[src]
Fold: FnMut(Acc, &<FilterMap<I, B, F> as StreamingIterator>::Item) -> Acc,
FilterMap<I, B, F>: Sized,
impl<I, B, F> StreamingIterator for Map<I, B, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> B,
I: StreamingIterator,
[src]
impl<I, B, F> StreamingIterator for Map<I, B, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> B,
I: StreamingIterator,
[src]impl<I, B, F> StreamingIterator for MapRef<I, F> where
B: ?Sized,
F: Fn(&<I as StreamingIterator>::Item) -> &B,
I: StreamingIterator,
[src]
impl<I, B, F> StreamingIterator for MapRef<I, F> where
B: ?Sized,
F: Fn(&<I as StreamingIterator>::Item) -> &B,
I: StreamingIterator,
[src]type Item = B
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&B>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn next(&mut self) -> Option<&B>
[src]
pub fn fold<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &<MapRef<I, F> as StreamingIterator>::Item) -> Acc,
MapRef<I, F>: Sized,
[src]
Fold: FnMut(Acc, &<MapRef<I, F> as StreamingIterator>::Item) -> Acc,
MapRef<I, F>: Sized,
impl<I, F> StreamingIterator for Filter<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> bool,
I: StreamingIterator,
[src]
impl<I, F> StreamingIterator for Filter<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> bool,
I: StreamingIterator,
[src]type Item = <I as StreamingIterator>::Item
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&<I as StreamingIterator>::Item>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn fold<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &<Filter<I, F> as StreamingIterator>::Item) -> Acc,
Filter<I, F>: Sized,
[src]
Fold: FnMut(Acc, &<Filter<I, F> as StreamingIterator>::Item) -> Acc,
Filter<I, F>: Sized,
impl<I, F> StreamingIterator for Inspect<I, F> where
F: FnMut(&<I as StreamingIterator>::Item),
I: StreamingIterator,
[src]
impl<I, F> StreamingIterator for Inspect<I, F> where
F: FnMut(&<I as StreamingIterator>::Item),
I: StreamingIterator,
[src]type Item = <I as StreamingIterator>::Item
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&<Inspect<I, F> as StreamingIterator>::Item>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn fold<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &<Inspect<I, F> as StreamingIterator>::Item) -> Acc,
Inspect<I, F>: Sized,
[src]
Fold: FnMut(Acc, &<Inspect<I, F> as StreamingIterator>::Item) -> Acc,
Inspect<I, F>: Sized,
impl<I, F> StreamingIterator for SkipWhile<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> bool,
I: StreamingIterator,
[src]
impl<I, F> StreamingIterator for SkipWhile<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> bool,
I: StreamingIterator,
[src]type Item = <I as StreamingIterator>::Item
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&<I as StreamingIterator>::Item>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn fold<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &<SkipWhile<I, F> as StreamingIterator>::Item) -> Acc,
SkipWhile<I, F>: Sized,
[src]
Fold: FnMut(Acc, &<SkipWhile<I, F> as StreamingIterator>::Item) -> Acc,
SkipWhile<I, F>: Sized,
impl<I, F> StreamingIterator for TakeWhile<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> bool,
I: StreamingIterator,
[src]
impl<I, F> StreamingIterator for TakeWhile<I, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> bool,
I: StreamingIterator,
[src]impl<I, J, F> StreamingIterator for FlatMap<I, J, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> J,
I: StreamingIterator,
J: StreamingIterator,
[src]
impl<I, J, F> StreamingIterator for FlatMap<I, J, F> where
F: FnMut(&<I as StreamingIterator>::Item) -> J,
I: StreamingIterator,
J: StreamingIterator,
[src]type Item = <J as StreamingIterator>::Item
pub fn advance(&mut self)
[src]
pub fn get(&self) -> Option<&<FlatMap<I, J, F> as StreamingIterator>::Item>
[src]
pub fn fold<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &<FlatMap<I, J, F> as StreamingIterator>::Item) -> Acc,
FlatMap<I, J, F>: Sized,
[src]
Fold: FnMut(Acc, &<FlatMap<I, J, F> as StreamingIterator>::Item) -> Acc,
FlatMap<I, J, F>: Sized,
impl<T> StreamingIterator for Empty<T>
[src]
impl<T> StreamingIterator for Empty<T>
[src]impl<T> StreamingIterator for Once<T>
[src]
impl<T> StreamingIterator for Once<T>
[src]impl<T> StreamingIterator for Repeat<T>
[src]
impl<T> StreamingIterator for Repeat<T>
[src]impl<T, F> StreamingIterator for FromFn<T, F> where
F: FnMut() -> Option<T>,
[src]
impl<T, F> StreamingIterator for FromFn<T, F> where
F: FnMut() -> Option<T>,
[src]impl<T, F> StreamingIterator for OnceWith<T, F> where
F: FnOnce() -> T,
[src]
impl<T, F> StreamingIterator for OnceWith<T, F> where
F: FnOnce() -> T,
[src]impl<T, F> StreamingIterator for RepeatWith<T, F> where
F: FnMut() -> T,
[src]
impl<T, F> StreamingIterator for RepeatWith<T, F> where
F: FnMut() -> T,
[src]