Trait shakmaty::Setup
[−]
[src]
pub trait Setup { fn board(&self) -> &Board; fn pockets(&self) -> Option<&Pockets>; fn turn(&self) -> Color; fn castling_rights(&self) -> Bitboard; fn ep_square(&self) -> Option<Square>; fn remaining_checks(&self) -> Option<&RemainingChecks>; fn halfmove_clock(&self) -> u32; fn fullmoves(&self) -> u32; fn us(&self) -> Bitboard { ... } fn our(&self, role: Role) -> Bitboard { ... } fn them(&self) -> Bitboard { ... } fn their(&self, role: Role) -> Bitboard { ... } }
A not necessarily legal position.