Expand description
Licensed under the Apache License, Version 2.0 https://www.apache.org/licenses/LICENSE-2.0 or the MIT license https://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.
Re-exports§
pub use self::map::map_into;
pub use self::map::map_ok;
pub use self::map::MapInto;
pub use self::map::MapOk;
pub use self::coalesce::*;
pub use self::multi_product::*;
Modules§
Macros§
Structs§
- A “meta iterator adaptor”. Its closure receives a reference to the iterator and may pick off as many elements as it likes, to produce the next iterator element.
- An iterator adapter to filter and apply a transformation on values within a nested
Result::Ok
. - An iterator adapter to filter values within a nested
Result::Ok
. - An iterator adaptor that alternates elements from two iterators until both run out.
- An iterator adaptor that alternates elements from the two iterators until one of them runs out.
- An iterator adapter to get the positions of each element that matches a predicate.
- An iterator adaptor that iterates over the cartesian product of the element sets of two iterators
I
andJ
. - An iterator adaptor that allows putting back a single item to the front of the iterator.
- An iterator adaptor that borrows from a
Clone
-able iterator to only pick off elements while the predicate returnstrue
. - An iterator to iterate through all combinations in a
Clone
-able iterator that produces tuples of a specific size. - An iterator adapter to apply a mutating function to each element before yielding it.
- An iterator adaptor that filters
Option<A>
iterator elements and producesA
. Stops on the firstNone
encountered.
Traits§
Functions§
- Create a new Batching iterator.
- Create a new cartesian product iterator
- Create a new
FilterOk
iterator. - Create a new
FilterOk
iterator. - Create an iterator that interleaves elements in
i
andj
. - Create a new
InterleaveShortest
iterator. - Create a new
Positions
iterator. - Create an iterator where you can put back a single item
- Create a new
TakeWhileRef
from a reference to clonable iterator. - Create a new
TupleCombinations
from a clonable iterator. - Create a new
Update
iterator. - Create a new
WhileSome<I>
.