Struct ndsparse::ParallelProducerWrapper[][src]

pub struct ParallelProducerWrapper<I>(_);
Expand description

Parallel producer for Rayon implementation. This is mostly an internal detail.

Trait Implementations

Formats the value using the given formatter. Read more

Which kind of iterator are we turning this into?

The type of the elements being iterated over.

Creates an iterator from a value. Read more

Which kind of iterator are we turning this into?

The type of the elements being iterated over.

Creates an iterator from a value. Read more

The type of iterator we will become.

The type of item that will be produced by this producer once it is converted into an iterator. Read more

Convert self into an iterator; at this point, no more parallel splits are possible. Read more

Split into two producers; one produces items 0..index, the other index..N. Index must be less than or equal to N. Read more

The minimum number of items that we will process sequentially. Defaults to 1, which means that we will split all the way down to a single item. This can be raised higher using the with_min_len method, which will force us to create sequential tasks at a larger granularity. Note that Rayon automatically normally attempts to adjust the size of parallel splits to reduce overhead, so this should not be needed. Read more

The maximum number of items that we will process sequentially. Defaults to MAX, which means that we can choose not to split at all. This can be lowered using the with_max_len method, which will force us to create more parallel tasks. Note that Rayon automatically normally attempts to adjust the size of parallel splits to reduce overhead, so this should not be needed. Read more

Iterate the producer, feeding each element to folder, and stop when the folder is full (or all elements have been consumed). Read more

The type of iterator we will become.

The type of item that will be produced by this producer once it is converted into an iterator. Read more

Convert self into an iterator; at this point, no more parallel splits are possible. Read more

Split into two producers; one produces items 0..index, the other index..N. Index must be less than or equal to N. Read more

The minimum number of items that we will process sequentially. Defaults to 1, which means that we will split all the way down to a single item. This can be raised higher using the with_min_len method, which will force us to create sequential tasks at a larger granularity. Note that Rayon automatically normally attempts to adjust the size of parallel splits to reduce overhead, so this should not be needed. Read more

The maximum number of items that we will process sequentially. Defaults to MAX, which means that we can choose not to split at all. This can be lowered using the with_max_len method, which will force us to create more parallel tasks. Note that Rayon automatically normally attempts to adjust the size of parallel splits to reduce overhead, so this should not be needed. Read more

Iterate the producer, feeding each element to folder, and stop when the folder is full (or all elements have been consumed). Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.