[][src]Struct hibitset::BitParIter

pub struct BitParIter<T>(_, _);

A ParallelIterator over a BitSetLike structure.


impl<T> BitParIter<T>[src]

pub fn new(set: T) -> Self[src]

Creates a new BitParIter. You usually don't call this function but just .par_iter() on a bit set.

Default layer split amount is 3.

pub fn layers_split(self, layers: u8) -> Self[src]

Sets how many layers are split when forking.


let mut bitset = BitSet::new();

The value should be in range [1, 3]

splitslargest smallest unit of work

Trait Implementations

impl<T: Debug> Debug for BitParIter<T>[src]

impl<T> ParallelIterator for BitParIter<T> where
    T: BitSetLike + Send + Sync

type Item = u32

The type of item that this parallel iterator produces. For example, if you use the [for_each] method, this is the type of item that your closure will be invoked with. Read more

Auto Trait Implementations

impl<T> RefUnwindSafe for BitParIter<T> where
    T: RefUnwindSafe

impl<T> Send for BitParIter<T> where
    T: Send

impl<T> Sync for BitParIter<T> where
    T: Sync

impl<T> Unpin for BitParIter<T> where
    T: Unpin

impl<T> UnwindSafe for BitParIter<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoParallelIterator for T where
    T: ParallelIterator

type Iter = T

The parallel iterator type that will be created.

type Item = <T as ParallelIterator>::Item

The type of item that the parallel iterator will produce.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.