Crate rayon [−] [src]
Modules
collections |
This module contains the parallel iterator types for standard collections. You will rarely need to interact with it directly unless you have need to name one of the iterator types. |
iter |
The |
option |
This module contains the parallel iterator types for options
( |
prelude |
The rayon prelude imports the various |
range |
This module contains the parallel iterator types for ranges
( |
result |
This module contains the parallel iterator types for results
( |
slice |
This module contains the parallel iterator types for slices
( |
str |
This module contains extension methods for |
vec |
This module contains the parallel iterator types for vectors
( |
Structs
Configuration |
[ Deprecated ] Contains the rayon thread pool configuration. Use |
Scope |
Represents a fork-join scope which can be used to spawn any number of tasks. See |
ThreadPool |
Represents a user created thread-pool. |
Functions
current_num_threads |
Returns the number of threads in the current registry. If this code is executing within a Rayon thread-pool, then this will be the number of threads for the thread-pool of the current thread. Otherwise, it will be the number of threads for the global thread-pool. |
initialize |
[ Deprecated ] Deprecated in favor of |
join |
Takes two closures and potentially runs them in parallel. It returns a pair of the results from those closures. |
scope |
Create a "fork-join" scope |
spawn |
Fires off a task into the Rayon threadpool in the "static" or
"global" scope. Just like a standard thread, this task is not
tied to the current stack frame, and hence it cannot hold any
references other than those with |
split |
The |