pub struct Stats<P: Player> {
pub states_explored: AtomicU64,
pub max_depth: AtomicUsize,
pub cache_hits: AtomicU64,
pub pruning_cutoffs: AtomicU64,
pub terminal_ends: TerminalEnds,
pub original_player: P,
pub original_move_count: usize,
}
Fields§
§states_explored: AtomicU64
§max_depth: AtomicUsize
§cache_hits: AtomicU64
§pruning_cutoffs: AtomicU64
§terminal_ends: TerminalEnds
§original_player: P
§original_move_count: usize
Trait Implementations§
Auto Trait Implementations§
impl<P> !Freeze for Stats<P>
impl<P> RefUnwindSafe for Stats<P>where
P: RefUnwindSafe,
impl<P> Send for Stats<P>where
P: Send,
impl<P> Sync for Stats<P>where
P: Sync,
impl<P> Unpin for Stats<P>where
P: Unpin,
impl<P> UnwindSafe for Stats<P>where
P: UnwindSafe,
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