Struct rin::ecs::streaming_iterator::Chain [−][src]
pub struct Chain<A, B> { /* fields omitted */ }A streaming iterator that concatenates two streaming iterators
Trait Implementations
impl<A, B> DoubleEndedStreamingIterator for Chain<A, B> where
B: DoubleEndedStreamingIterator<Item = <A as StreamingIterator>::Item>,
A: DoubleEndedStreamingIterator, [src]
impl<A, B> DoubleEndedStreamingIterator for Chain<A, B> where
B: DoubleEndedStreamingIterator<Item = <A as StreamingIterator>::Item>,
A: DoubleEndedStreamingIterator, [src]impl<A, B> DoubleEndedStreamingIteratorMut for Chain<A, B> where
B: DoubleEndedStreamingIteratorMut<Item = <A as StreamingIterator>::Item>,
A: DoubleEndedStreamingIteratorMut, [src]
impl<A, B> DoubleEndedStreamingIteratorMut for Chain<A, B> where
B: DoubleEndedStreamingIteratorMut<Item = <A as StreamingIterator>::Item>,
A: DoubleEndedStreamingIteratorMut, [src]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]type Item = <A as StreamingIterator>::Item
The type of the elements being iterated over.
pub fn advance(&mut self)[src]
pub fn get(&self) -> Option<&<Chain<A, B> as StreamingIterator>::Item>[src]
pub fn fold<Acc, F>(self, init: Acc, f: F) -> Acc where
F: FnMut(Acc, &<Chain<A, B> as StreamingIterator>::Item) -> Acc,
Chain<A, B>: Sized, [src]
F: FnMut(Acc, &<Chain<A, B> as StreamingIterator>::Item) -> Acc,
Chain<A, B>: Sized,
pub fn next(&mut self) -> Option<&Self::Item>[src]
pub fn size_hint(&self) -> (usize, Option<usize>)[src]
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 count(self) -> usize[src]
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<A, B> StreamingIteratorMut for Chain<A, B> where
B: StreamingIteratorMut<Item = <A as StreamingIterator>::Item>,
A: StreamingIteratorMut, [src]
impl<A, B> StreamingIteratorMut for Chain<A, B> where
B: StreamingIteratorMut<Item = <A as StreamingIterator>::Item>,
A: StreamingIteratorMut, [src]pub fn get_mut(
&mut self
) -> Option<&mut <Chain<A, B> as StreamingIterator>::Item>[src]
&mut self
) -> Option<&mut <Chain<A, B> as StreamingIterator>::Item>
pub fn fold_mut<Acc, F>(self, init: Acc, f: F) -> Acc where
F: FnMut(Acc, &mut <Chain<A, B> as StreamingIterator>::Item) -> Acc,
Chain<A, B>: Sized, [src]
F: FnMut(Acc, &mut <Chain<A, B> as StreamingIterator>::Item) -> Acc,
Chain<A, B>: 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<A, B> RefUnwindSafe for Chain<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Chain<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Sync for Chain<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> Unpin for Chain<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for Chain<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: 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]