Struct rayon::Configuration [] [src]

pub struct Configuration { /* fields omitted */ }

Contains the rayon thread pool configuration.


impl Configuration

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Configuration

Formats the value using the given formatter.