Enum lib_battleship::common::CellStatus [] [src]

pub enum CellStatus {
    Empty,
    Miss,
    Ship,
    Hit,
}

The (display) states a cell on the battlefield can have.

Variants

Trait Implementations

impl Copy for CellStatus
[src]

impl Clone for CellStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CellStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for CellStatus
[src]

Formats the value using the given formatter.