Struct crossbeam::Scope [] [src]

pub struct Scope<'a> {
    // some fields omitted
}

Methods

impl<'a> Scope<'a>

fn defer<F>(&self, f: F) where F: FnOnce() + 'a

fn spawn<F, T>(&self, f: F) -> ScopedJoinHandle<T> where F: FnOnce() -> T + Send + 'a, T: Send + 'a

Trait Implementations

impl<'a> Drop for Scope<'a>

fn drop(&mut self)