struct Shared {
done: AtomicBool,
boost: AtomicI32,
tx: Sender<(i32, i32)>,
}
Expand description
Shared between threads for part two.
Fields§
§done: AtomicBool
§boost: AtomicI32
§tx: Sender<(i32, i32)>
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