Struct rin::ecs::streaming_iterator::ConvertRef [−][src]
pub struct ConvertRef<'a, I, T> where
T: 'a + ?Sized,
I: Iterator<Item = &'a T>, { /* fields omitted */ }
A streaming iterator which yields elements from an iterator of references.
Trait Implementations
impl<'a, I, T> Clone for ConvertRef<'a, I, T> where
T: Clone + 'a + ?Sized,
I: Clone + Iterator<Item = &'a T>,
[src]
impl<'a, I, T> Clone for ConvertRef<'a, I, T> where
T: Clone + 'a + ?Sized,
I: Clone + Iterator<Item = &'a T>,
[src]pub fn clone(&self) -> ConvertRef<'a, I, T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, I, T> Debug for ConvertRef<'a, I, T> where
T: Debug + 'a + ?Sized,
I: Debug + Iterator<Item = &'a T>,
[src]
impl<'a, I, T> Debug for ConvertRef<'a, I, T> where
T: Debug + 'a + ?Sized,
I: Debug + Iterator<Item = &'a T>,
[src]impl<'a, I, T> DoubleEndedStreamingIterator for ConvertRef<'a, I, T> where
T: ?Sized,
I: DoubleEndedIterator<Item = &'a T>,
[src]
impl<'a, I, T> DoubleEndedStreamingIterator for ConvertRef<'a, I, T> where
T: ?Sized,
I: DoubleEndedIterator<Item = &'a T>,
[src]pub fn advance_back(&mut self)
[src]
pub fn rfold<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,
pub fn next_back(&mut self) -> Option<&Self::Item>
[src]
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
The type of the elements being iterated over.
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,
pub fn next(&mut self) -> Option<&Self::Item>
[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 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),
Auto Trait Implementations
impl<'a, I, T: ?Sized> RefUnwindSafe for ConvertRef<'a, I, T> where
I: RefUnwindSafe,
T: RefUnwindSafe,
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, I, T: ?Sized> Send for ConvertRef<'a, I, T> where
I: Send,
T: Sync,
I: Send,
T: Sync,
impl<'a, I, T: ?Sized> Sync for ConvertRef<'a, I, T> where
I: Sync,
T: Sync,
I: Sync,
T: Sync,
impl<'a, I, T: ?Sized> Unpin for ConvertRef<'a, I, T> where
I: Unpin,
I: Unpin,
impl<'a, I, T: ?Sized> UnwindSafe for ConvertRef<'a, I, T> where
I: UnwindSafe,
T: RefUnwindSafe,
I: UnwindSafe,
T: RefUnwindSafe,
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]