Struct ZipLongest

struct ZipLongest<T, U> { ... }

An iterator which iterates two other iterators simultaneously and wraps the elements in EitherOrBoth.

This iterator is fused.

See .zip_longest() for more information.

Implementations

impl<I> IntoIterator for ZipLongest<T, U>

fn into_iter(self: Self) -> I

impl<T> Any for ZipLongest<T, U>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ZipLongest<T, U>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ZipLongest<T, U>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for ZipLongest<T, U>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ZipLongest<T, U>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Itertools for ZipLongest<T, U>

impl<T> ToOwned for ZipLongest<T, U>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> DoubleEndedIterator for ZipLongest<T, U>

fn next_back(self: &mut Self) -> Option<<Self as >::Item>
fn rfold<B, F>(self: Self, init: B, f: F) -> B
where
    F: FnMut(B, <Self as >::Item) -> B

impl<T, U> ExactSizeIterator for ZipLongest<T, U>

impl<T, U> Freeze for ZipLongest<T, U>

impl<T, U> FusedIterator for ZipLongest<T, U>

impl<T, U> Into for ZipLongest<T, U>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> Iterator for ZipLongest<T, U>

fn next(self: &mut Self) -> Option<<Self as >::Item>
fn size_hint(self: &Self) -> (usize, Option<usize>)
fn fold<B, F>(self: Self, init: B, f: F) -> B
where
    Self: Sized,
    F: FnMut(B, <Self as >::Item) -> B

impl<T, U> RefUnwindSafe for ZipLongest<T, U>

impl<T, U> Send for ZipLongest<T, U>

impl<T, U> Sync for ZipLongest<T, U>

impl<T, U> TryFrom for ZipLongest<T, U>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ZipLongest<T, U>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<T, U> Unpin for ZipLongest<T, U>

impl<T, U> UnsafeUnpin for ZipLongest<T, U>

impl<T, U> UnwindSafe for ZipLongest<T, U>

impl<T: $crate::clone::Clone, U: $crate::clone::Clone> Clone for ZipLongest<T, U>

fn clone(self: &Self) -> ZipLongest<T, U>

impl<T: $crate::fmt::Debug, U: $crate::fmt::Debug> Debug for ZipLongest<T, U>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result