Macro winter_utils::iter_mut[][src]

macro_rules! iter_mut {
    ($e : expr) => { ... };
    ($e : expr, $min_len : expr) => { ... };
}
Expand description

Returns either a regular or a parallel mutable iterator depending on whether concurrent feature is enabled.

When concurrent feature is enabled, creates a mutable parallel iterator; otherwise, creates a regular mutable iterator. Optionally, min_length can be used to specify the minimum length of iterator to be processed in each thread.

Adapted from: https://github.com/arkworks-rs/utils/blob/master/src/lib.rs