Skip to main content

CombinationsWithReplacement

Type Alias CombinationsWithReplacement 

Source
pub type CombinationsWithReplacement<I> = CombinationsWithReplacementGeneric<I, Box<[usize]>>;
Expand description

Iterator for Box<[I]> valued combinations_with_replacement returned by .combinations_with_replacement()

Aliased Type§

pub struct CombinationsWithReplacement<I> {
    indices: Box<[usize]>,
    pool: LazyBuffer<I>,
    first: bool,
}

Fields§

§indices: Box<[usize]>§pool: LazyBuffer<I>§first: bool