Struct CombinationsWithReplacement
struct CombinationsWithReplacement<I> { ... }
where
I: Iterator,
<I as >::Item: Clone
An iterator to iterate through all the n-length combinations in an iterator, with replacement.
See .combinations_with_replacement()
for more information.
Implementations
impl<I> Clone for CombinationsWithReplacement<I>
fn clone(self: &Self) -> CombinationsWithReplacement<I>
impl<I> Debug for CombinationsWithReplacement<I>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<I> Freeze for CombinationsWithReplacement<I>
impl<I> FusedIterator for CombinationsWithReplacement<I>
impl<I> IntoIterator for CombinationsWithReplacement<I>
fn into_iter(self: Self) -> I
impl<I> Iterator for CombinationsWithReplacement<I>
fn next(self: &mut Self) -> Option<<Self as >::Item>fn nth(self: &mut Self, n: usize) -> Option<<Self as >::Item>fn size_hint(self: &Self) -> (usize, Option<usize>)fn count(self: Self) -> usize
impl<I> RefUnwindSafe for CombinationsWithReplacement<I>
impl<I> Send for CombinationsWithReplacement<I>
impl<I> Sync for CombinationsWithReplacement<I>
impl<I> Unpin for CombinationsWithReplacement<I>
impl<I> UnsafeUnpin for CombinationsWithReplacement<I>
impl<I> UnwindSafe for CombinationsWithReplacement<I>
impl<T> Any for CombinationsWithReplacement<I>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for CombinationsWithReplacement<I>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for CombinationsWithReplacement<I>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for CombinationsWithReplacement<I>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for CombinationsWithReplacement<I>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Itertools for CombinationsWithReplacement<I>
impl<T> ToOwned for CombinationsWithReplacement<I>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for CombinationsWithReplacement<I>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for CombinationsWithReplacement<I>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for CombinationsWithReplacement<I>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>