pub struct Threads(pub NonZeroUsize);Expand description
How many threads a run’s parallel work may use; one is the serial run.
Tuple Fields§
§0: NonZeroUsizeImplementations§
Trait Implementations§
impl Copy for Threads
impl Eq for Threads
impl StructuralPartialEq for Threads
Auto Trait Implementations§
impl Forget for Threads
impl Freeze for Threads
impl RefUnwindSafe for Threads
impl Send for Threads
impl Sync for Threads
impl Unpin for Threads
impl UnsafeUnpin for Threads
impl UnwindSafe for Threads
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