pub struct IteratorStream<I>(/* private fields */)
where
I: Iterator + Clone;
Expand description
Wrapper around iterators which allows them to be treated as a stream.
Returned by from_iter
.
Trait Implementations§
Source§impl<I> Clone for IteratorStream<I>
impl<I> Clone for IteratorStream<I>
Source§fn clone(&self) -> IteratorStream<I>
fn clone(&self) -> IteratorStream<I>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<I> Debug for IteratorStream<I>
impl<I> Debug for IteratorStream<I>
Source§impl<I: Iterator + Clone> Stream for IteratorStream<I>where
I::Item: Positioner,
impl<I: Iterator + Clone> Stream for IteratorStream<I>where
I::Item: Positioner,
Auto Trait Implementations§
impl<I> Freeze for IteratorStream<I>where
I: Freeze,
impl<I> RefUnwindSafe for IteratorStream<I>where
I: RefUnwindSafe,
impl<I> Send for IteratorStream<I>where
I: Send,
impl<I> Sync for IteratorStream<I>where
I: Sync,
impl<I> Unpin for IteratorStream<I>where
I: Unpin,
impl<I> UnwindSafe for IteratorStream<I>where
I: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more