Struct MultiProduct

struct MultiProduct<I>(_)
where
    I: Iterator + Clone,
    <I as >::Item: Clone

An iterator adaptor that iterates over the cartesian product of multiple iterators of type I.

An iterator element type is Vec<I::Item>.

See .multi_cartesian_product() for more information.

Implementations

impl<I> Clone for MultiProduct<I>

fn clone(self: &Self) -> MultiProduct<I>

impl<I> Debug for MultiProduct<I>

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

impl<I> Freeze for MultiProduct<I>

impl<I> FusedIterator for MultiProduct<I>

impl<I> IntoIterator for MultiProduct<I>

fn into_iter(self: Self) -> I

impl<I> Iterator for MultiProduct<I>

fn next(self: &mut Self) -> Option<<Self as >::Item>
fn count(self: Self) -> usize
fn size_hint(self: &Self) -> (usize, Option<usize>)
fn last(self: Self) -> Option<<Self as >::Item>

impl<I> RefUnwindSafe for MultiProduct<I>

impl<I> Send for MultiProduct<I>

impl<I> Sync for MultiProduct<I>

impl<I> Unpin for MultiProduct<I>

impl<I> UnsafeUnpin for MultiProduct<I>

impl<I> UnwindSafe for MultiProduct<I>

impl<T> Any for MultiProduct<I>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for MultiProduct<I>

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

impl<T> BorrowMut for MultiProduct<I>

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

impl<T> CloneToUninit for MultiProduct<I>

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

impl<T> From for MultiProduct<I>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Itertools for MultiProduct<I>

impl<T> ToOwned for MultiProduct<I>

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

impl<T, U> Into for MultiProduct<I>

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> TryFrom for MultiProduct<I>

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

impl<T, U> TryInto for MultiProduct<I>

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