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]

Trait Implementations

impl Clone for Pocket
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Pocket
[src]

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

Formats the value using the given formatter. Read more

impl Default for Pocket
[src]

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

Auto Trait Implementations

impl Send for Pocket

impl Sync for Pocket