Struct shakmaty::Pocket [] [src]

pub struct Pocket {
    pub pawns: u8,
    pub knights: u8,
    pub bishops: u8,
    pub rooks: u8,
    pub queens: u8,
    pub kings: u8,
}

A players Crazyhouse pocket.

Fields

Methods

impl Pocket
[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for Pocket
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Pocket
[src]

impl PartialEq for Pocket
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Pocket
[src]

[src]

Formats the value using the given formatter.

impl Default for Pocket
[src]

[src]

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