pub trait IntoStreamingIterator: IntoIteratorwhere
Self: Sized,{
// Provided methods
fn into_streaming_iter(self) -> Convert<Self::IntoIter> { ... }
fn into_streaming_iter_ref<'a, T: ?Sized>(
self
) -> ConvertRef<'a, Self::IntoIter, T>
where Self: IntoIterator<Item = &'a T> { ... }
fn into_streaming_iter_mut<'a, T: ?Sized>(
self
) -> ConvertMut<'a, Self::IntoIter, T>
where Self: IntoIterator<Item = &'a mut T> { ... }
}
Expand description
Conversion from IntoIterator
to StreamingIterator
.
Provided Methods§
sourcefn into_streaming_iter(self) -> Convert<Self::IntoIter>
fn into_streaming_iter(self) -> Convert<Self::IntoIter>
Turns an IntoIterator
into a StreamingIterator
.
Calling this method on an IntoIterator
is equivalent to using convert
.
sourcefn into_streaming_iter_ref<'a, T: ?Sized>(
self
) -> ConvertRef<'a, Self::IntoIter, T>where
Self: IntoIterator<Item = &'a T>,
fn into_streaming_iter_ref<'a, T: ?Sized>( self ) -> ConvertRef<'a, Self::IntoIter, T>where Self: IntoIterator<Item = &'a T>,
Turns an IntoIterator
of references into a StreamingIterator
.
Calling this method on an IntoIterator
is equivalent to using convert_ref
.
sourcefn into_streaming_iter_mut<'a, T: ?Sized>(
self
) -> ConvertMut<'a, Self::IntoIter, T>where
Self: IntoIterator<Item = &'a mut T>,
fn into_streaming_iter_mut<'a, T: ?Sized>( self ) -> ConvertMut<'a, Self::IntoIter, T>where Self: IntoIterator<Item = &'a mut T>,
Turns an IntoIterator
of mutable references into a StreamingIteratorMut
.
Calling this method on an IntoIterator
is equivalent to using convert_mut
.