Struct rin::ecs::streaming_iterator::ConvertMut [−][src]
pub struct ConvertMut<'a, I, T> where
T: 'a + ?Sized,
I: Iterator<Item = &'a mut T>, { /* fields omitted */ }
A streaming iterator which yields elements from an iterator of mutable references.
Trait Implementations
impl<'a, I, T> Debug for ConvertMut<'a, I, T> where
T: Debug + 'a + ?Sized,
I: Debug + Iterator<Item = &'a mut T>,
[src]
impl<'a, I, T> Debug for ConvertMut<'a, I, T> where
T: Debug + 'a + ?Sized,
I: Debug + Iterator<Item = &'a mut T>,
[src]impl<'a, I, T> DoubleEndedStreamingIterator for ConvertMut<'a, I, T> where
T: ?Sized,
I: DoubleEndedIterator<Item = &'a mut T>,
[src]
impl<'a, I, T> DoubleEndedStreamingIterator for ConvertMut<'a, I, T> where
T: ?Sized,
I: DoubleEndedIterator<Item = &'a mut T>,
[src]pub fn advance_back(&mut self)
[src]
pub fn rfold<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,
pub fn next_back(&mut self) -> Option<&Self::Item>
[src]
impl<'a, I, T> DoubleEndedStreamingIteratorMut for ConvertMut<'a, I, T> where
T: ?Sized,
I: DoubleEndedIterator<Item = &'a mut T>,
[src]
impl<'a, I, T> DoubleEndedStreamingIteratorMut for ConvertMut<'a, I, T> where
T: ?Sized,
I: DoubleEndedIterator<Item = &'a mut T>,
[src]pub fn rfold_mut<B, F>(self, init: B, f: F) -> B where
F: FnMut(B, &mut <ConvertMut<'a, I, T> as StreamingIterator>::Item) -> B,
ConvertMut<'a, I, T>: Sized,
[src]
F: FnMut(B, &mut <ConvertMut<'a, I, T> as StreamingIterator>::Item) -> B,
ConvertMut<'a, I, T>: Sized,
pub fn next_back_mut(&mut self) -> Option<&mut Self::Item>
[src]
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
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, &<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,
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),
impl<'a, I, T> StreamingIteratorMut for ConvertMut<'a, I, T> where
T: ?Sized,
I: Iterator<Item = &'a mut T>,
[src]
impl<'a, I, T> StreamingIteratorMut for ConvertMut<'a, I, T> where
T: ?Sized,
I: Iterator<Item = &'a mut T>,
[src]pub fn get_mut(
&mut self
) -> Option<&mut <ConvertMut<'a, I, T> as StreamingIterator>::Item>
[src]
&mut self
) -> Option<&mut <ConvertMut<'a, I, T> as StreamingIterator>::Item>
pub fn fold_mut<B, F>(self, init: B, f: F) -> B where
F: FnMut(B, &mut <ConvertMut<'a, I, T> as StreamingIterator>::Item) -> B,
ConvertMut<'a, I, T>: Sized,
[src]
F: FnMut(B, &mut <ConvertMut<'a, I, T> as StreamingIterator>::Item) -> B,
ConvertMut<'a, I, T>: 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, I, T: ?Sized> RefUnwindSafe for ConvertMut<'a, I, T> where
I: RefUnwindSafe,
T: RefUnwindSafe,
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, I, T: ?Sized> Send for ConvertMut<'a, I, T> where
I: Send,
T: Send,
I: Send,
T: Send,
impl<'a, I, T: ?Sized> Sync for ConvertMut<'a, I, T> where
I: Sync,
T: Sync,
I: Sync,
T: Sync,
impl<'a, I, T: ?Sized> Unpin for ConvertMut<'a, I, T> where
I: Unpin,
I: Unpin,
impl<'a, I, T> !UnwindSafe for ConvertMut<'a, I, T>
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]