pub struct Shared {
first: usize,
second: usize,
start: AtomicUsize,
done: AtomicBool,
}
Expand description
State shared between all threads.
Fields§
§first: usize
§second: usize
§start: AtomicUsize
§done: AtomicBool
Auto Trait Implementations§
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