Struct TupleCombinations
#[must_use = "this iterator adaptor is not lazy but does nearly nothing unless consumed"]
pub struct TupleCombinations<I, T>
where
I: Iterator,
T: HasCombination<I>, { /* private fields */ }
An iterator to iterate through all combinations in a Clone-able iterator that produces tuples
of a specific size.
See .tuple_combinations() for more
information.
Trait Implementations
impl<I, T> Clone for TupleCombinations<I, T>
where
I: Iterator + Clone,
T: HasCombination<I> + Clone,
T::Combination: Clone,
fn clone(&self) -> Self
impl<I, T> Debug for TupleCombinations<I, T>
where
I: Iterator + Debug,
T: HasCombination<I> + Debug,
T::Combination: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<I, T> FusedIterator for TupleCombinations<I, T>
where
I: FusedIterator,
T: HasCombination<I>,
impl<I, T> Iterator for TupleCombinations<I, T>
where
I: Iterator,
T: HasCombination<I>,
type Item = T;fn next(&mut self) -> Option<Self::Item>fn size_hint(&self) -> (usize, Option<usize>)fn count(self) -> usizefn fold<B, F>(self, init: B, f: F) -> B where F: FnMut(B, Self::Item) -> B,