[−][src]Struct myopic_board::Board
Implementations
impl Board
[src]
pub fn constraints_impl(
&mut self,
computation_type: MoveComputeType
) -> MoveConstraints
[src]
&mut self,
computation_type: MoveComputeType
) -> MoveConstraints
impl Board
[src]
pub fn passive_control_impl(&mut self) -> BitBoard
[src]
impl Board
[src]
pub fn compute_discoveries(&self) -> RaySet
[src]
impl Board
[src]
pub fn pinned_set_impl(&mut self) -> RaySet
[src]
impl Board
[src]
pub fn clear_cache(&mut self)
[src]
impl Board
[src]
pub fn compute_moves_impl(
&mut self,
computation_type: MoveComputeType
) -> Vec<Move>
[src]
&mut self,
computation_type: MoveComputeType
) -> Vec<Move>
Trait Implementations
impl ChessBoard for Board
[src]
pub fn make(&mut self, mv: Move) -> Result<()>
[src]
pub fn unmake(&mut self) -> Result<Move>
[src]
pub fn compute_moves(&mut self, computation_type: MoveComputeType) -> Vec<Move>
[src]
pub fn termination_status(&mut self) -> Option<Termination>
[src]
pub fn in_check(&mut self) -> bool
[src]
pub fn side(&self, side: Side) -> BitBoard
[src]
pub fn sides(&self) -> (BitBoard, BitBoard)
[src]
pub fn hash(&self) -> u64
[src]
pub fn active(&self) -> Side
[src]
pub fn enpassant(&self) -> Option<Square>
[src]
pub fn castle_status(&self, side: Side) -> Option<CastleZone>
[src]
pub fn locs(&self, pieces: &[Piece]) -> BitBoard
[src]
pub fn king(&self, side: Side) -> Square
[src]
pub fn piece(&self, location: Square) -> Option<Piece>
[src]
pub fn half_move_clock(&self) -> usize
[src]
pub fn position_count(&self) -> usize
[src]
pub fn previous_moves(&self) -> Vec<Move>
[src]
pub fn remaining_rights(&self) -> CastleZoneSet
[src]
pub fn play_pgn(&mut self, moves: &str) -> Result<Vec<Move>>
[src]
pub fn play_uci(&mut self, moves: &str) -> Result<Vec<Move>>
[src]
pub fn parse_uci(&mut self, uci_move: &str) -> Result<Move, Error>
[src]
pub fn to_partial_fen(&self, cmps: &[FenComponent]) -> String
[src]
pub fn to_fen(&self) -> String
[src]
pub fn all_pieces(&self) -> BitBoard
[src]
impl Clone for Board
[src]
impl Debug for Board
[src]
impl FromStr for Board
[src]
type Err = Error
The associated error which can be returned from parsing.
pub fn from_str(fen: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<Board> for Board
[src]
pub fn eq(&self, other: &Board) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Reflectable for Board
[src]
Auto Trait Implementations
impl RefUnwindSafe for Board
[src]
impl Send for Board
[src]
impl Sync for Board
[src]
impl Unpin for Board
[src]
impl UnwindSafe for Board
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,