pub enum Mode {
Infinite,
Standard(Standard),
Depth(Depth),
MoveTime(MoveTime),
}
Expand description
There are 4 supported search modes currently, Infinite, Standard, Depth, and MoveTime.
Infinite mode: do not stop searching. Search must be signaled externally to stop.
Standard mode: standard chess time controls with time per side.
Depth mode: search to a given depth.
MoveTime mode: search for a specified time per move.
Variants§
Implementations§
Trait Implementations§
Source§impl TryFrom<SearchControls> for Mode
impl TryFrom<SearchControls> for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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