Struct rustc_ap_rustc_data_structures::sync::WorkerLocal [−][src]
pub struct WorkerLocal<T>(_);
Implementations
Creates a new worker local where the initial
closure computes the
value this worker local should take for each thread in the thread pool.
Returns the worker-local value for each thread
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for WorkerLocal<T> where
T: RefUnwindSafe,
impl<T> Send for WorkerLocal<T> where
T: Send,
impl<T> Sync for WorkerLocal<T> where
T: Sync,
impl<T> Unpin for WorkerLocal<T> where
T: Unpin,
impl<T> UnwindSafe for WorkerLocal<T> where
T: UnwindSafe,