Struct shakmaty::Chess [] [src]

pub struct Chess { /* fields omitted */ }

A standard Chess position.

Trait Implementations

impl Clone for Chess
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Chess
[src]

[src]

Formats the value using the given formatter.

impl Default for Chess
[src]

[src]

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

impl Setup for Chess
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl Position for Chess
[src]

[src]

Plays a move. It is the callers responsibility to ensure the move is legal. Read more

[src]

Set up a position. Read more

[src]

Tests the rare case where moving the rook to the other side during castling would uncover a rank attack. Read more

[src]

Collects all legal moves in an existing buffer. Read more

[src]

Generates castling moves. Read more

[src]

Generates en passant moves. Read more

[src]

Generates a subset of legal moves: All piece moves and drops of type role to the square to, excluding castling moves. Read more

[src]

Tests for insufficient winning material.

[src]

Checks if the game is over due to a special variant end condition. Read more

[src]

Tests special variant winning, losing and drawing conditions.

[src]

Swap turns. This is sometimes called "playing a null move". Read more

[src]

Generates legal moves.

[src]

Generates capture moves. Read more

Tests a move for legality.

[src]

Tests if a move is irreversible. Read more

[src]

Attacks that a king on square would have to deal with.

[src]

Bitboard of pieces giving check.

[src]

Tests for checkmate.

[src]

Tests for stalemate.

[src]

Tests if the game is over due to checkmate, stalemate, insufficient material or variant end. Read more

[src]

The outcome of the game, or None if the game is not over.

[src]

Plays a move. Read more