pub enum CellState {
Hidden,
Revealed,
Flagged,
}Expand description
The visibility state of a single cell.
Variants§
Hidden
The cell has not been revealed or flagged yet.
Revealed
The cell has been revealed by the player.
Flagged
The player has placed a flag on this cell.
Trait Implementations§
impl Copy for CellState
impl Eq for CellState
impl StructuralPartialEq for CellState
Auto Trait Implementations§
impl Freeze for CellState
impl RefUnwindSafe for CellState
impl Send for CellState
impl Sync for CellState
impl Unpin for CellState
impl UnsafeUnpin for CellState
impl UnwindSafe for CellState
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