Struct rayon_core::registry::CustomSpawn
source · pub struct CustomSpawn<F>(F);
Expand description
Spawns a thread with a user’s custom callback.
This type is pub-in-private – E0445 forces us to make it public, but we don’t actually want to expose these details in the API.
Tuple Fields§
§0: F
Implementations§
source§impl<F> CustomSpawn<F>
impl<F> CustomSpawn<F>
Trait Implementations§
source§impl<F: Debug> Debug for CustomSpawn<F>
impl<F: Debug> Debug for CustomSpawn<F>
source§impl<F> ThreadSpawn for CustomSpawn<F>
impl<F> ThreadSpawn for CustomSpawn<F>
Auto Trait Implementations§
impl<F> Freeze for CustomSpawn<F>where
F: Freeze,
impl<F> RefUnwindSafe for CustomSpawn<F>where
F: RefUnwindSafe,
impl<F> Send for CustomSpawn<F>where
F: Send,
impl<F> Sync for CustomSpawn<F>where
F: Sync,
impl<F> Unpin for CustomSpawn<F>where
F: Unpin,
impl<F> UnwindSafe for CustomSpawn<F>where
F: UnwindSafe,
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