pub enum Player {
Me = 1,
Other = 2,
}
Expand description
Represents the players in the game from the perspective of the MCTS search.
Variants§
Me = 1
The player for whom the MCTS is currently searching for the best move.
Other = 2
The opponent.
Trait Implementations§
impl Copy for Player
impl Eq for Player
impl StructuralPartialEq for Player
Auto Trait Implementations§
impl Freeze for Player
impl RefUnwindSafe for Player
impl Send for Player
impl Sync for Player
impl Unpin for Player
impl UnwindSafe for Player
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