pub enum Stone {
Black,
White,
}
Expand description
Enum that represents the two different possible stone colors available on a standard Othello board.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Stone
impl PartialEq for Stone
impl Copy for Stone
impl Eq for Stone
impl StructuralPartialEq for Stone
Auto Trait Implementations§
impl Freeze for Stone
impl RefUnwindSafe for Stone
impl Send for Stone
impl Sync for Stone
impl Unpin for Stone
impl UnwindSafe for Stone
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