Structs§
- Combinations
With Replacement - An iterator to iterate through all the
n
-length combinations in an iterator, with replacement.
Functions§
- combinations_
with_ replacement - Create a new
CombinationsWithReplacement
from a clonable iterator. - remaining_
for 🔒 - For a given size
n
, return the count of remaining combinations with replacement or None if it would overflow.