Enum arbor::GameResult
source · [−]pub enum GameResult {
Win,
Lose,
Draw,
}
Expand description
This enum describes the result of a game. The result should depict the outcome relative to the current player.
Variants
Win
Lose
Draw
Trait Implementations
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