Struct rayon::Scope [] [src]

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

Methods

impl<'scope> Scope<'scope>
[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.