Struct rayon::Scope [] [src]

pub struct Scope<'scope> { /* fields omitted */ }

Represents a fork-join scope which can be used to spawn any number of tasks. See scope() for more information.

Methods

impl<'scope> Scope<'scope>
[src]

[src]

Spawns a job into the fork-join scope self. This job will execute sometime before the fork-join scope completes. The job is specified as a closure, and this closure receives its own reference to self as argument. This can be used to inject new jobs into self.

Trait Implementations

impl<'scope> Debug for Scope<'scope>
[src]

[src]

Formats the value using the given formatter.