pub enum SearchCommand<B: EvalChessBoard> {
Go,
GoOnce,
Stop,
Close,
Root(B),
Infinite,
Depth(usize),
Time(usize),
GameTime {
w_base: usize,
w_inc: usize,
b_base: usize,
b_inc: usize,
},
}Variants§
Trait Implementations§
Source§impl<B: Clone + EvalChessBoard> Clone for SearchCommand<B>
impl<B: Clone + EvalChessBoard> Clone for SearchCommand<B>
Source§fn clone(&self) -> SearchCommand<B>
fn clone(&self) -> SearchCommand<B>
Returns a duplicate 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<B: Debug + EvalChessBoard> Debug for SearchCommand<B>
impl<B: Debug + EvalChessBoard> Debug for SearchCommand<B>
Source§impl<B: PartialEq + EvalChessBoard> PartialEq for SearchCommand<B>
impl<B: PartialEq + EvalChessBoard> PartialEq for SearchCommand<B>
impl<B: EvalChessBoard> StructuralPartialEq for SearchCommand<B>
Auto Trait Implementations§
impl<B> Freeze for SearchCommand<B>where
B: Freeze,
impl<B> RefUnwindSafe for SearchCommand<B>where
B: RefUnwindSafe,
impl<B> Send for SearchCommand<B>
impl<B> Sync for SearchCommand<B>where
B: Sync,
impl<B> Unpin for SearchCommand<B>where
B: Unpin,
impl<B> UnwindSafe for SearchCommand<B>where
B: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more