Struct rayon_core::FnContext [−][src]
pub struct FnContext { /* fields omitted */ }Provides the calling context to a closure called by join_context.
Methods
impl FnContext[src]
impl FnContextpub fn migrated(&self) -> bool[src]
pub fn migrated(&self) -> boolReturns true if the closure was called from a different thread
than it was provided from.