pub struct RAYON;Implementations§
Source§impl RAYON
impl RAYON
pub fn install<OP, R>(&self, op: OP) -> R
pub fn join<A, B, RA, RB>(&self, oper_a: A, oper_b: B) -> (RA, RB)
pub fn scope<'scope, OP, R>(&self, op: OP) -> R
pub fn spawn<OP>(&self, op: OP)
pub fn spawn_fifo<OP>(&self, op: OP)
pub fn current_thread_has_pending_tasks(&self) -> Option<bool>
pub fn current_thread_index(&self) -> Option<usize>
pub fn current_num_threads(&self) -> usize
pub fn with<OP, R>(&self, op: OP) -> R
Available on Emscripten or non-
target_family=wasm only.Auto Trait Implementations§
impl Freeze for RAYON
impl RefUnwindSafe for RAYON
impl Send for RAYON
impl Sync for RAYON
impl Unpin for RAYON
impl UnsafeUnpin for RAYON
impl UnwindSafe for RAYON
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more