[−][src]Struct vampirc_uci::uci::UciSearchControl
A struct that controls the engine's (non-time-related) search settings.
Fields
search_moves: Vec<UciMove>
Limits the search to these moves.
mate: Option<u8>
Search for mate in this many moves.
depth: Option<u8>
Search to this ply depth.
nodes: Option<u64>
Search no more than this many nodes (positions).
Implementations
impl UciSearchControl
[src]
pub fn depth(depth: u8) -> UciSearchControl
[src]
Creates an UciSearchControl
with depth
set to the parameter and everything else set to empty or None
.
pub fn mate(mate: u8) -> UciSearchControl
[src]
Creates an UciSearchControl
with mate
set to the parameter and everything else set to empty or None
.
pub fn nodes(nodes: u64) -> UciSearchControl
[src]
Creates an UciSearchControl
with nodes
set to the parameter and everything else set to empty or None
.
pub fn is_empty(&self) -> bool
[src]
Returns true
if all of the struct's settings are either None
or empty.
Trait Implementations
impl Clone for UciSearchControl
[src]
fn clone(&self) -> UciSearchControl
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UciSearchControl
[src]
impl Default for UciSearchControl
[src]
impl Eq for UciSearchControl
[src]
impl Hash for UciSearchControl
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<UciSearchControl> for UciSearchControl
[src]
fn eq(&self, other: &UciSearchControl) -> bool
[src]
fn ne(&self, other: &UciSearchControl) -> bool
[src]
impl StructuralEq for UciSearchControl
[src]
impl StructuralPartialEq for UciSearchControl
[src]
Auto Trait Implementations
impl RefUnwindSafe for UciSearchControl
impl Send for UciSearchControl
impl Sync for UciSearchControl
impl Unpin for UciSearchControl
impl UnwindSafe for UciSearchControl
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,