Struct chessground::Pos []

pub struct Pos { /* fields omitted */ }

A position configuration.

  • Piece positions
  • Legal move hints
  • Check hint
  • Last move hint

Methods

impl Pos
[src]

Create a new position configuration.

Create a position configuration from a board, without any other hints.

Set the hint for the last move, so that it can be highlighted on the board.

Set the check hint.

Set the legal move hints.

Trait Implementations

impl Default for Pos
[src]

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