pub enum Outcome {
Win,
Loss,
CatsGame,
Unknown,
}
Expand description
Represents a game outcome for the AI opponent.
Variants§
Win
The AI player wins the game.
Loss
The AI player loses the game.
CatsGame
The game results in a cats game.
Unknown
The outcome of the game is unknown to the AI player.
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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