Struct rayon::Configuration [] [src]

pub struct Configuration {
    // some fields omitted
}

Contains the rayon thread pool configuration.

Methods

impl Configuration
[src]

Creates and return a valid rayon thread pool configuration, but does not initialize it.

Get the number of threads that will be used for the thread pool. See set_num_threads for more information.

Set the number of threads to be used in the rayon threadpool. The argument num_threads must not be zero. If you do not call this function, rayon will select a suitable default (currently, the default is one thread per CPU core).

Trait Implementations

impl Clone for Configuration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Configuration
[src]

Formats the value using the given formatter.