pub struct DisplayIter<I>(pub I);Expand description
Displays an iterator of items using each element’s fmt::Display impl.
As fmt::Display can’t take ownership of the underlying iterator, the
iterator is cloned every time it is displayed, so it should be cheaply
clonable (most iterators are).
Tuple Fields§
§0: ITrait Implementations§
Auto Trait Implementations§
impl<I> Freeze for DisplayIter<I>where
I: Freeze,
impl<I> RefUnwindSafe for DisplayIter<I>where
I: RefUnwindSafe,
impl<I> Send for DisplayIter<I>where
I: Send,
impl<I> Sync for DisplayIter<I>where
I: Sync,
impl<I> Unpin for DisplayIter<I>where
I: Unpin,
impl<I> UnsafeUnpin for DisplayIter<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for DisplayIter<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