Struct rin::ecs::streaming_iterator::Fuse [−][src]
pub struct Fuse<I> { /* fields omitted */ }
A streaming iterator which is well-defined before and after iteration.
Trait Implementations
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
The type of the elements being iterated over.
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,
pub fn all<F>(&mut self, f: F) -> bool where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
pub fn any<F>(&mut self, f: F) -> bool where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
pub fn by_ref(&mut self) -> &mut Self
[src]
pub fn chain<I>(self, other: I) -> Chain<Self, I> where
I: StreamingIterator<Item = Self::Item>,
[src]
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,
[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,
pub fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> bool,
[src]
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>,
[src]
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,
[src]
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>,
[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>,
pub fn find<F>(&mut self, f: F) -> Option<&Self::Item> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
pub fn fuse(self) -> Fuse<Self>
[src]
pub fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item),
[src]
F: FnMut(&Self::Item),
pub fn map<B, F>(self, f: F) -> Map<Self, B, F> where
F: FnMut(&Self::Item) -> B,
[src]
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,
[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,
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,
pub fn nth(&mut self, n: usize) -> Option<&Self::Item>
[src]
pub fn position<F>(&mut self, f: F) -> Option<usize> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
pub fn skip(self, n: usize) -> Skip<Self>
[src]
pub fn skip_while<F>(self, f: F) -> SkipWhile<Self, F> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
pub fn take(self, n: usize) -> Take<Self>
[src]
pub fn take_while<F>(self, f: F) -> TakeWhile<Self, F> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
pub fn rev(self) -> Rev<Self> where
Self: DoubleEndedStreamingIterator,
[src]
Self: DoubleEndedStreamingIterator,
pub fn for_each<F>(self, f: F) where
F: FnMut(&Self::Item),
[src]
F: FnMut(&Self::Item),
impl<I> StreamingIteratorMut for Fuse<I> where
I: StreamingIteratorMut,
[src]
impl<I> StreamingIteratorMut for Fuse<I> where
I: StreamingIteratorMut,
[src]pub fn get_mut(&mut self) -> Option<&mut <I as StreamingIterator>::Item>
[src]
pub fn fold_mut<Acc, Fold>(self, init: Acc, fold: Fold) -> Acc where
Fold: FnMut(Acc, &mut <Fuse<I> as StreamingIterator>::Item) -> Acc,
Fuse<I>: Sized,
[src]
Fold: FnMut(Acc, &mut <Fuse<I> as StreamingIterator>::Item) -> Acc,
Fuse<I>: Sized,
pub fn next_mut(&mut self) -> Option<&mut Self::Item>
[src]
pub fn for_each_mut<F>(self, f: F) where
F: FnMut(&mut Self::Item),
[src]
F: FnMut(&mut Self::Item),
pub 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
F: FnMut(&mut <I as StreamingIterator>::Item) -> B,
I: StreamingIteratorMut, type Item = B;
where
F: FnMut(&mut Self::Item) -> B,
[src]
Notable traits for MapDerefMut<I, F>
impl<I, B, F> Iterator for MapDerefMut<I, F> where
F: FnMut(&mut <I as StreamingIterator>::Item) -> B,
I: StreamingIteratorMut, type Item = B;
F: FnMut(&mut Self::Item) -> B,
pub fn find_mut<F>(&mut self, f: F) -> Option<&mut Self::Item> where
F: FnMut(&Self::Item) -> bool,
[src]
F: FnMut(&Self::Item) -> bool,
Auto Trait Implementations
impl<I> RefUnwindSafe for Fuse<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I> Send for Fuse<I> where
I: Send,
I: Send,
impl<I> Sync for Fuse<I> where
I: Sync,
I: Sync,
impl<I> Unpin for Fuse<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for Fuse<I> where
I: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]