searchState.loadedDescShard("itertools", 0, "Extra iterator adaptors, functions and macros.\nBoth values are present.\nContinue folding with this value\nA type returned by the diff_with function.\nFold is complete and will return this value\nThe enum Either with variants Left and Right is a general …\nValue that either holds a single A or B, or both.\nThis is the first element.\nThe index of the first non-matching element along with …\nAn enum used for controlling the execution of fold_while.\nAn Iterator blanket implementation that provides extra …\nThis is the last element.\nA value of type L.\nOnly the left value of type A is present.\nThe total number of elements that were in I along with the …\nThis is neither the first nor the last element.\nMore than one element in the iterator, the first element …\nMinMaxResult is an enum returned by minmax.\nAn iterator that can be unzipped into multiple collections.\nEmpty iterator\nIterator with one element, so the minimum and maximum are …\nThis is the only element.\nAn iterator that allows peeking at an element before …\nThe first component of the value yielded by WithPosition. …\nA value of type R.\nOnly the right value of type B is present.\nThe total number of elements that were in J along with the …\nTest whether the predicate holds for all elements in the …\nCheck whether all elements compare equal.\nIf there are elements and they are all equal, return a …\nCheck whether all elements are unique (non equal).\nTest whether the predicate holds for any elements in the …\nConverts from &EitherOrBoth<A, B> to EitherOrBoth<&_, &_> …\nConverts from &mut EitherOrBoth<A, B> to …\nConvert &mut Either<L, R> to Either<&mut L, &mut R>.\nConverts from &mut EitherOrBoth<A, B> to …\nConvert Pin<&mut Either<L, R>> to …\nConvert Pin<&Either<L, R>> to Either<Pin<&L>, Pin<&R>>, …\nConvert &Either<L, R> to Either<&L, &R>.\nConverts from &EitherOrBoth<A, B> to EitherOrBoth<&A, &B>.\nAssert that two iterables produce equal sequences, with …\nIf the iterator yields no elements, Ok(None) will be …\nA “meta iterator adaptor”. Its closure receives a …\nIf Both, return Some containing the left and right values. …\nReturn an iterator adaptor that iterates over the …\nTakes two iterables and creates a new iterator over both …\nChain zero or more iterators together into one sequence.\nReturn an iterable that can group iterator elements. …\nReturn an iterable that can chunk the iterator.\nReturn an iterator over all windows, wrapping back to the …\nCreate an iterator that clones each element from &T to T.\nMaps an Either<&L, &R> to an Either<L, R> by cloning the …\nMaps an Either<&mut L, &mut R> to an Either<L, R> by …\nReturn an iterator adaptor that uses the passed-in closure …\nCollects all items from the iterator into a tuple of a …\n.collect_vec() is simply a type specialization of …\nReturn an iterator adaptor that iterates over the k-length …\nReturn an iterator that iterates over the k-length …\nCombine all an iterator’s elements into one element by …\nCombine all an iterator’s elements into one element by …\nCreate an iterator that maps for example iterators of …\nReturns true if the given item is present in this iterator.\nMaps an Either<&mut L, &mut R> to an Either<L, R> by …\nMaps an Either<&L, &R> to an Either<L, R> by copying the …\nCollect the items in this iterator and return a HashMap …\nCollect the items in this iterator and return a HashMap …\nRemove duplicates from sections of consecutive identical …\nRemove duplicates from sections of consecutive identical …\nRemove duplicates from sections of consecutive identical …\nRemove duplicates from sections of consecutive identical …\nCompares every element yielded by both i and j with the …\nConsume the first n elements from the iterator eagerly, …\nConsume the last n elements from the iterator eagerly, and …\nReturn an iterator adaptor that produces elements that …\nReturn an iterator adaptor that produces elements that …\nApply one of two functions depending on contents, unifying …\nConvert the contained value into T\nLike either, but provide some context to whichever of the …\nIterate iterable with a running index.\nReturn true if both iterables produce equal sequences …\nIf the iterator yields exactly one element, that element …\nReturns the left value\nReturns the right value\nFactors out a homogenous type from an Either of Result.\nFactor out a homogeneous type from an either of pairs.\nConverts an Either of Iterators to be an Iterator of Either…\nBorrows an Either of Iterators to be an Iterator of Eithers\nMutably borrows an Either of Iterators to be an Iterator …\nFactors out None from an Either of Option.\nFactors out a homogenous type from an Either of Result.\nFactor out a homogeneous type from an either of pairs.\nReturn an iterator adaptor that filters and transforms …\nReturn an iterator adaptor that filters every Result::Ok …\nFind the value of the first element satisfying a predicate …\nFind the value of the first element satisfying a predicate …\nFind the position and value of the first element …\nReturn an iterator adaptor that flattens every Result::Ok …\nConvert Either<L, R> to Either<R, L>.\nConvert EitherOrBoth<A, B> to EitherOrBoth<B, A>.\nPerform a fold operation over the iterable.\nAccumulator of the elements in the iterator.\nFold Result values from an iterator.\nFold Option values from an iterator.\nAn iterator method that applies a function, producing a …\nFormat all iterator elements, separated by sep.\nFormat all iterator elements, separated by sep.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns an iterator over a subsection of the iterator.\nSee .chunk_by().\nIf Left, or Both, return true. Otherwise, return false.\nIf Right, or Both, return true, otherwise, return false.\nSet self to Both(..), containing the specified left and …\nSets the left value of this instance, and returns a …\nSets the right value of this instance, and returns a …\nCreate an iterator that interleaves elements in i and j.\nAlternate elements from two iterators until both have run …\nAlternate elements from two iterators until at least one …\nIterate iterable with a particular value inserted between …\nAn iterator adaptor to insert a particular value between …\nIterate iterable with a particular value created by a …\nAn iterator adaptor to insert a particular value created …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturn a HashMap of keys mapped to Vecs of values. Keys …\nReturn an Iterator on a HashMap. Keys mapped to Vecs of …\nConstructs a GroupingMap to be used later with one of the …\nConstructs a GroupingMap to be used later with one of the …\nExtract the value of an either over two equivalent types.\nReturn the value in the continue or done.\nConvert the inner value to an iterator.\nIf Left or Both, return the left value. Otherwise, convert …\ninto_option creates an Option of type (T, T). The returned …\nIf Right or Both, return the right value. Otherwise, …\nCreate an iterator over the “cartesian product” of …\nIf Both, return true. Otherwise, return false.\nReturn true if self is Done, false if it is Continue.\nReturn true if the value is the Left variant.\nIf Left, return true. Otherwise, return false. Exclusive …\nReturn true if the value is the Right variant.\nIf Right, return true. Otherwise, return false. Exclusive …\nBorrow the inner value as an iterator.\nMutably borrow the inner value as an iterator.\nCreates a new iterator that infinitely applies function to …\nCreate an iterator running multiple iterators in lockstep.\nCombine all iterator elements into one String, separated …\nCombine all iterator elements into one String, separated …\nIf Left, return Some with the left value. If Right or Both…\nIf Right, return Some with the right value. If Left or Both…\nSort the k largest elements into a new iterator, in …\nSort the k largest elements into a new iterator using the …\nReturn the elements producing the k largest outputs of the …\nSort the k smallest elements into a new iterator, in …\nSort the k smallest elements into a new iterator using the …\nReturn the elements producing the k smallest outputs of …\nCreate an iterator that merges elements of the contained …\nReturn an iterator adaptor that flattens an iterator of …\nCreate an iterator that merges elements of the contained …\nReturn an iterator adaptor that flattens an iterator of …\nConvert the left side of Either<L, R> to an Option<L>.\nIf Left, or Both, return Some with the left value. …\nReturn tuple of options corresponding to the left and …\nApply the function f on the value in the Left variant if …\nApply the function f on the value a in Left(a) or …\nReturn left value or given value\nReturn left or a default\nReturns left value or computes it from a closure\nReturns a mutable reference to the left value. If the left …\nIf the left value is not present, replace it the value …\nMap f over the contained value and return the result in the\nApply the functions f and g on the value a and b …\nApply the functions f and g to the Left and Right variants …\nSimilar to map_either, with an added context ctx …\nConvert each item of the iterator using the Into trait.\nApply the function f on the value in the Left variant if …\nApply the function f on the value a in Left(a) or …\nReturn an iterator adaptor that applies the provided …\nApply the function f on the value in the Right variant if …\nApply the function f on the value b in Right(b) or …\nReturn the maximum value of the iterable.\nReturn all maximum elements of an iterator.\nReturn all maximum elements of an iterator, as determined …\nReturn all maximum elements of an iterator, as determined …\nCreate an iterator that merges elements in i and j.\nReturn an iterator adaptor that merges the two base …\nReturn an iterator adaptor that merges the two base …\nReturn an iterator adaptor that merge-joins items from the …\nCreate an iterator that merges items from both this and …\nReturn the minimum value of the iterable.\nReturn all minimum elements of an iterator.\nReturn all minimum elements of an iterator, as determined …\nReturn all minimum elements of an iterator, as determined …\nReturn the minimum and maximum elements in the iterator.\nReturn the minimum and maximum element of an iterator, as …\nReturn the minimum and maximum element of an iterator, as …\nReturn an iterator adaptor that iterates over the …\nAn iterator adaptor that allows the user to peek at …\nAn iterator adaptor that allows the user to peek at …\nConverts an iterator of tuples into a tuple of containers.\nUnzip this iterator into multiple collections.\nConverts an iterator of tuples into a tuple of containers.\nAn iterator that generalizes .zip() and allows running …\nAdvances the iterator and returns the next items grouped …\nReturns a tuple consisting of the l and r in Both(l, r), …\nReturns a tuple consisting of the l and r in Both(l, r), …\nReturns a tuple consisting of the l and r in Both(l, r), …\nReturn an iterator adaptor that pads the sequence to a …\nPartition a sequence using predicate pred so that elements …\nCollect all iterator elements into one of two partitions. …\nPartition a sequence of Results into one list of all the Ok…\nA drop-in replacement for std::iter::Peekable which adds a …\nPass a reference to the next iterator element to the …\nReturn an iterator adaptor that borrows from this iterator …\nReturn an iterator adaptor that iterates over all …\nReturn the position of the maximum element in the iterator.\nReturn the position of the maximum element in the …\nReturn the position of the maximum element in the …\nReturn the position of the minimum element in the iterator.\nReturn the position of the minimum element in the …\nReturn the position of the minimum element in the …\nReturn the positions of the minimum and maximum elements in\nReturn the postions of the minimum and maximum elements of …\nReturn the postions of the minimum and maximum elements of …\nReturn an iterator adaptor that yields the indices of all …\nReturn an iterator that iterates through the powerset of …\n“Lift” a function of the values of an iterator so that …\n“Lift” a function of the values of the current …\nIterate over the entire iterator and multiply all the …\nCreate an iterator where you can put back a single item\nCreate an iterator where you can put back multiple values …\nReturn an iterator inside a Rc<RefCell<_>> wrapper.\nReturn either value of left, right, or apply a function f …\nCreate an iterator that produces n repetitions of element.\nIterate iterable in reverse.\nConvert the right side of Either<L, R> to an Option<R>.\nIf Right, or Both, return Some with the right value. …\nApply the function f on the value in the Right variant if …\nApply the function f on the value b in Right(b) or …\nReturn right value or given value\nReturn right or a default\nReturns right value or computes it from a closure\nReturns a mutable reference to the right value. If the …\nIf the right value is not present, replace it the value …\nAssign to each reference in self from the from iterator, …\nSort all iterator elements into a new iterator in …\nSort all iterator elements into a new iterator in …\nSort all iterator elements into a new iterator in …\nSort all iterator elements into a new iterator in …\nSort all iterator elements into a new iterator in …\nSort all iterator elements into a new iterator in …\nSort all iterator elements into a new iterator in …\nSort all iterator elements into a new iterator in …\nSort all iterator elements into a new iterator in …\nThe concrete iterator types.\nIterate over the entire iterator and add all the elements.\nConsumes the iterator and return an iterator of the last n …\nReturns an iterator adaptor that consumes elements while …\nReturn an iterator adaptor that borrows from a Clone-able …\nSplit into an iterator pair that both yield all elements …\nTraits helpful for using certain Itertools methods in …\nSee .tree_reduce().\nAccumulate the elements in the iterator in a tree-like …\n.try_collect() is more convenient way of writing …\nReturns the length of the iterator if one exists. …\nReturn an iterator adaptor that iterates over the …\nReturn an iterator over all contiguous windows producing …\nReturn an iterator that groups the items in tuples of a …\nCreates a new unfold source with the specified closure as …\nReturn an iterator adaptor that filters out elements that …\nReturn an iterator adaptor that filters out elements that …\nReturns the left value\nReturns the right value\nReturn an iterator adaptor that applies a mutating function\nReturn an iterator adaptor that filters Option<A> iterator …\nReturn an iterator adaptor that combines each element with …\nConverts the arguments to iterators and zips them.\nZips two iterators but panics if they are not of the same …\nCreate an iterator which iterates over both this and the …\nCreate an iterator which iterates over both this and the …\nA “meta iterator adaptor”. Its closure receives a …\nAn iterator for the elements in a single chunk.\nChunkBy is the storage for the lazy grouping operation.\nAn iterator that yields the Chunk iterators.\nAn iterator over all windows, wrapping back to the first …\nAn iterator adaptor that may join together adjacent …\nAn iterator to iterate through all the k-length …\nAn iterator to iterate through all the n-length …\nAn iterator that maps an iterator of tuples like …\nAn iterator adaptor that removes repeated duplicates.\nAn iterator adaptor that removes repeated duplicates, …\nAn iterator adaptor that removes repeated duplicates, …\nAn iterator adaptor that removes repeated duplicates, …\nAn iterator adapter to filter out duplicate elements.\nAn iterator adapter to filter for duplicate elements.\nIterator returned for the error case of …\nAn iterator adapter to filter and apply a transformation …\nAn iterator adapter to filter values within a nested …\nAn iterator adaptor that flattens Result::Ok values and …\nFormat all iterator elements lazily, separated by sep.\nFormat all iterator elements lazily, separated by sep.\nAn iterator for the elements in a single group.\nSee ChunkBy.\nGroupingMap is an intermediate struct for efficient …\nGroupingMapBy is an intermediate struct for efficient …\nAn iterator that yields the Group iterators.\nAn iterator adaptor that alternates elements from two …\nAn iterator adaptor that alternates elements from the two …\nAn iterator adaptor to insert a particular value between …\nAn iterator adaptor to insert a particular value created …\nChunkLazy is the storage for a lazy chunking operation.\nAn iterator that infinitely applies function to value and …\nAn iterator adaptor that merges an abitrary number of base …\nAn iterator adaptor that merges an abitrary number of base …\nAn iterator adapter to apply Into conversion to each …\nAn iterator adapter to apply a transformation within a …\nAn iterator adaptor that merges the two base iterators in …\nAn iterator adaptor that merges the two base iterators in …\nAn iterator adaptor that merge-joins items from the two …\nSee multipeek() for more information.\nAn iterator adaptor that iterates over the cartesian …\nAn iterator adaptor that pads a sequence to a minimum …\nSee peek_nth() for more information.\nAn iterator adaptor that takes items while a closure …\nAn iterator adaptor that iterates through all the k…\nAn iterator adapter to get the positions of each element …\nAn iterator to iterate through the powerset of the …\nAn iterator that produces only the T values as long as the …\nAn iterator adaptor that iterates over the cartesian …\nAn iterator adaptor that allows putting back a single item …\nAn iterator adaptor that allows putting multiple items in …\nA wrapper for Rc<RefCell<I>>, that implements the Iterator …\nAn iterator that produces n repetitions of an element.\nAn iterator adaptor that consumes elements while the given …\nAn iterator adaptor that borrows from a Clone-able iterator\nOne half of an iterator pair where both return the same …\nAn iterator over a incomplete tuple.\nAn iterator to iterate through all combinations in a Clone…\nAn iterator over all contiguous windows that produces …\nAn iterator that groups the items in tuples of a specific …\nSee unfold for more information.\nAn iterator adapter to filter out duplicate elements.\nAn iterator adapter to filter out duplicate elements.\nAn iterator adapter to apply a mutating function to each …\nAn iterator adaptor that filters Option<A> iterator …\nAn iterator adaptor that wraps each element in an Position.\nSee multizip for more information.\nAn iterator which iterates two other iterators …\nAn iterator which iterates two other iterators …\nThis is the generic way to perform any operation on a …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nSee .reduce().\nGroups elements from the GroupingMap source by key and …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturn a buffer with the produced items that was not …\nSplit the PutBack into its parts.\nReturns the length of a combination produced by this …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nGroups elements from the GroupingMap source by key and …\nReturns the (current) length of the pool from which …\nWorks exactly like the next_if method in …\nWorks exactly like the next_if_eq method in …\nWorks exactly like .next() with the only difference that …\nWorks exactly like the peek method in std::iter::Peekable.\nWorks exactly like the peek_mut method in …\nReturns a reference to the nth value without advancing the …\nReturns a mutable reference to the nth value without …\nGroups elements from the GroupingMap source by key and …\nPut back a single value to the front of the iterator.\nPuts x in front of the iterator.\nThe boxed iterator.\nGroups elements from the GroupingMap source by key and …\nReset the peeking “cursor”\nInternal state that will be passed to the closure on the …\nGroups elements from the GroupingMap source by key and …\nput back value value (builder method)\nImplemented for homogeneous tuples of size up to 12.\nUsed by Itertools::get to know which iterator to turn …\nThe type returned for this type of index.\nReturns an adapted iterator for the current index.")