Enum shakmaty::Color[][src]

pub enum Color {
    Black,
    White,
}

White or Black.

Variants

Methods

impl Color
[src]

Trait Implementations

impl Copy for Color
[src]

impl Clone for Color
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Color
[src]

impl PartialEq for Color
[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 Color
[src]

Formats the value using the given formatter. Read more

impl Not for Color
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl BitXor<bool> for Color
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

Auto Trait Implementations

impl Send for Color

impl Sync for Color