pub struct TurnCounter { /* private fields */ }Expand description
Thread-safe counter for generating turn numbers
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TurnCounter
impl RefUnwindSafe for TurnCounter
impl Send for TurnCounter
impl Sync for TurnCounter
impl Unpin for TurnCounter
impl UnwindSafe for TurnCounter
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