pub struct MctsSideResult {
pub move_choice: MoveChoice,
pub total_score: f32,
pub visits: u32,
}Fields§
§move_choice: MoveChoice§total_score: f32§visits: u32Implementations§
Source§impl MctsSideResult
impl MctsSideResult
pub fn average_score(&self) -> f32
Trait Implementations§
Source§impl Clone for MctsSideResult
impl Clone for MctsSideResult
Source§fn clone(&self) -> MctsSideResult
fn clone(&self) -> MctsSideResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MctsSideResult
impl RefUnwindSafe for MctsSideResult
impl Send for MctsSideResult
impl Sync for MctsSideResult
impl Unpin for MctsSideResult
impl UnwindSafe for MctsSideResult
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