Enum takuzu::Cell [] [src]

pub enum Cell {
    Zero,
    One,
    Empty,
}

An enum representing the state of a cell.

Variants

Stands for 0.

Stands for 1.

Empty cell.

Methods

impl Cell
[src]

Returns true if a cell is Empty.

Returns true if a cell is Zero or One.

Trait Implementations

impl PartialEq for Cell
[src]

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

This method tests for !=.

impl Eq for Cell
[src]

impl Debug for Cell
[src]

Formats the value using the given formatter.

impl Copy for Cell
[src]

impl Clone for Cell
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Cell
[src]

Returns the "default value" for a type. Read more

impl Not for Cell
[src]

The resulting type after applying the ! operator

The method for the unary ! operator