#[non_exhaustive]pub struct MoveStats<M> {
pub mv: M,
pub visits: u32,
pub value: f64,
}Expand description
A root move with the statistics of the simulations through it.
Non-exhaustive: later versions may report more per move.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mv: MThe move.
visits: u32Simulations that started with the move.
value: f64The sum of Side::Max’s rewards over those simulations.
Implementations§
Trait Implementations§
impl<M: PartialEq> StructuralPartialEq for MoveStats<M>
Auto Trait Implementations§
impl<M> Forget for MoveStats<M>
impl<M> Freeze for MoveStats<M>where
M: Freeze,
impl<M> Move for MoveStats<M>
impl<M> RefUnwindSafe for MoveStats<M>where
M: RefUnwindSafe,
impl<M> Send for MoveStats<M>where
M: Send,
impl<M> Sync for MoveStats<M>where
M: Sync,
impl<M> Unpin for MoveStats<M>where
M: Unpin,
impl<M> UnsafeUnpin for MoveStats<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for MoveStats<M>where
M: 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