pub struct RunState {
pub current_turn: Arc<Mutex<usize>>,
/* private fields */
}Fields§
§current_turn: Arc<Mutex<usize>>The current turn number in the run.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RunState
impl !UnwindSafe for RunState
impl Freeze for RunState
impl Send for RunState
impl Sync for RunState
impl Unpin for RunState
impl UnsafeUnpin for RunState
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