pub struct IterRef<'a, I: Sized>(pub &'a I);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§
impl<'a, I: Copy + Sized> Copy for IterRef<'a, I>
Auto Trait Implementations§
impl<'a, I> Freeze for IterRef<'a, I>
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§
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