pub struct BotGameResult<B: Board> {
pub game_count: u32,
pub replays: Vec<Replay<B>>,
pub average_game_length: f32,
pub wdl_l: WDL<u32>,
pub time_l: f32,
pub time_r: f32,
pub debug_l: String,
pub debug_r: String,
}Expand description
Structure returned by the function run.
Fields§
§game_count: u32§replays: Vec<Replay<B>>§average_game_length: f32§wdl_l: WDL<u32>§time_l: f32§time_r: f32§debug_l: String§debug_r: StringTrait Implementations§
Auto Trait Implementations§
impl<B> Freeze for BotGameResult<B>
impl<B> RefUnwindSafe for BotGameResult<B>
impl<B> Send for BotGameResult<B>
impl<B> Sync for BotGameResult<B>
impl<B> Unpin for BotGameResult<B>
impl<B> UnwindSafe for BotGameResult<B>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more