pub struct ChessEngine {}
Implementations§
Source§impl ChessEngine
impl ChessEngine
pub fn find_best_move_minimax_ab( &mut self, board: BoardMap, depth: usize, ) -> PositionMove
pub fn find_best_move_negamax( &mut self, board: BoardMap, depth: usize, ) -> PositionMove
Trait Implementations§
Source§impl Clone for ChessEngine
impl Clone for ChessEngine
Source§fn clone(&self) -> ChessEngine
fn clone(&self) -> ChessEngine
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ChessEngine
impl Default for ChessEngine
Source§fn default() -> ChessEngine
fn default() -> ChessEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChessEngine
impl RefUnwindSafe for ChessEngine
impl Send for ChessEngine
impl Sync for ChessEngine
impl Unpin for ChessEngine
impl UnwindSafe for ChessEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more