Struct hibitset::BitProducer
[−]
[src]
pub struct BitProducer<'a, T: 'a + Send + Sync>(pub BitIter<&'a T>);
Allows splitting and internally iterating through BitSet
.
Usually used internally by BitParIter
.
Trait Implementations
impl<'a, T: Debug + 'a + Send + Sync> Debug for BitProducer<'a, T>
[src]
impl<'a, T: 'a + Send + Sync> UnindexedProducer for BitProducer<'a, T> where
T: BitSetLike,
[src]
T: BitSetLike,
type Item = u32
fn split(self) -> (Self, Option<Self>)
[src]
Split midway into a new producer if possible, otherwise return None
.
fn fold_with<F>(self, folder: F) -> F where
F: Folder<Self::Item>,
[src]
F: Folder<Self::Item>,
Iterate the producer, feeding each element to folder
, and stop when the folder is full (or all elements have been consumed). Read more