pub enum Status {
Win(Stone),
Draw,
Progressing,
}
Expand description
This enum represents all states the game can be in.
Variants§
Win(Stone)
Indicates that the game has concluded with the specified winner.
Draw
Indicates that the game has concluded in a draw.
Progressing
Indicates that the game is still in progress.
Trait Implementations§
source§impl PartialEq for Status
impl PartialEq for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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