Struct rayon_core::FnContext
source · pub struct FnContext {
pub(crate) migrated: bool,
pub(crate) _marker: PhantomData<*mut ()>,
}
Expand description
Provides the calling context to a closure called by join_context
.
Fields§
§migrated: bool
§_marker: PhantomData<*mut ()>
disable Send
and Sync
, just for a little future-proofing.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FnContext
impl !Send for FnContext
impl !Sync for FnContext
impl Unpin for FnContext
impl UnwindSafe for FnContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more