Struct autocompress::io::RayonThreadBuilder
source · pub struct RayonThreadBuilder;
Available on crate feature
rayon
only.Expand description
RayonThreadBuilder
is a struct that implements the ThreadBuilder
trait using rayon::spawn
to spawn new threads.
Trait Implementations§
source§impl Clone for RayonThreadBuilder
impl Clone for RayonThreadBuilder
source§fn clone(&self) -> RayonThreadBuilder
fn clone(&self) -> RayonThreadBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RayonThreadBuilder
impl Debug for RayonThreadBuilder
source§impl Hash for RayonThreadBuilder
impl Hash for RayonThreadBuilder
source§impl PartialEq for RayonThreadBuilder
impl PartialEq for RayonThreadBuilder
source§fn eq(&self, other: &RayonThreadBuilder) -> bool
fn eq(&self, other: &RayonThreadBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ThreadBuilder for RayonThreadBuilder
impl ThreadBuilder for RayonThreadBuilder
fn new_thread<F: FnOnce() + Send + 'static>(&self, f: F)
impl Copy for RayonThreadBuilder
impl Eq for RayonThreadBuilder
impl StructuralEq for RayonThreadBuilder
impl StructuralPartialEq for RayonThreadBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RayonThreadBuilder
impl Send for RayonThreadBuilder
impl Sync for RayonThreadBuilder
impl Unpin for RayonThreadBuilder
impl UnwindSafe for RayonThreadBuilder
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