pub struct Replay<B: Board> {
pub start: B,
pub player_l: Player,
pub moves: Vec<B::Move>,
pub outcome: Outcome,
pub total_time_l: f32,
pub total_time_r: f32,
pub move_count_l: u32,
pub move_count_r: u32,
pub debug_l: String,
pub debug_r: String,
}Fields§
§start: B§player_l: Player§moves: Vec<B::Move>§outcome: Outcome§total_time_l: f32§total_time_r: f32§move_count_l: u32§move_count_r: u32§debug_l: String§debug_r: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Replay<B>where
B: Freeze,
impl<B> RefUnwindSafe for Replay<B>
impl<B> Send for Replay<B>
impl<B> Sync for Replay<B>
impl<B> Unpin for Replay<B>
impl<B> UnwindSafe for Replay<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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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