Enum shakmaty::Color [] [src]

pub enum Color {
    Black,
    White,
}

White or Black.

Variants

Methods

impl Color
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Copy for Color
[src]

impl Clone for Color
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Color
[src]

impl PartialEq for Color
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Debug for Color
[src]

[src]

Formats the value using the given formatter.

impl Not for Color
[src]

The resulting type after applying the ! operator.

[src]

Performs the unary ! operation.

impl BitXor<bool> for Color
[src]

The resulting type after applying the ^ operator.

[src]

Performs the ^ operation.