pub enum GameResult {
Player1Win,
Player2Win,
Draw,
}
Expand description
Any two-player Minimax game must have this behavior. In other words, these functions should yield meaningful outputs for any two-player games.
Variants
Player1Win
Player2Win
Draw
Auto Trait Implementations
impl RefUnwindSafe for GameResult
impl Send for GameResult
impl Sync for GameResult
impl Unpin for GameResult
impl UnwindSafe for GameResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more