Expand description
Helper type which is used to serialize iterator as vector
NOTE: iterator is cloned for max_size_hint and write_to
Tuple Fields
0: &'a ITrait Implementations
sourceimpl<I, T> TlWrite for IterRef<'_, I>where
I: Iterator<Item = T> + ExactSizeIterator + Clone,
T: TlWrite,
impl<I, T> TlWrite for IterRef<'_, I>where
I: Iterator<Item = T> + ExactSizeIterator + Clone,
T: TlWrite,
impl<'a, I: Copy + Sized> Copy for IterRef<'a, I>
Auto Trait Implementations
impl<'a, I> RefUnwindSafe for IterRef<'a, I>where
I: RefUnwindSafe,
impl<'a, I> Send for IterRef<'a, I>where
I: Sync,
impl<'a, I> Sync for IterRef<'a, I>where
I: Sync,
impl<'a, I> Unpin for IterRef<'a, I>
impl<'a, I> UnwindSafe for IterRef<'a, I>where
I: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more