pub trait BreadthFirstZip<'item> {
type Nested: BreadthFirst<'item>;
// Required methods
fn breadth_first(self) -> BreadthFirstManager<'item, Self::Nested>;
fn unflatten(self) -> Self::Nested;
}Expand description
Zip a tuple into a lazy breadth-first traversal of each possible combination with a monotonically increasing sum of indices.
Required Associated Types§
Sourcetype Nested: BreadthFirst<'item>
type Nested: BreadthFirst<'item>
Rearrangement of input into a nested tuple.
Required Methods§
Sourcefn breadth_first(self) -> BreadthFirstManager<'item, Self::Nested>
fn breadth_first(self) -> BreadthFirstManager<'item, Self::Nested>
Lazy breadth-first exhaustive zip that guarantees a monotonically increasing sum of indices.