pub struct SearchControls {
pub wtime: Option<i32>,
pub btime: Option<i32>,
pub winc: Option<u32>,
pub binc: Option<u32>,
pub moves_to_go: Option<u32>,
pub depth: Option<PlyKind>,
pub nodes: Option<u64>,
pub mate: Option<u32>,
pub move_time: Option<u32>,
pub infinite: bool,
}
Fields§
§wtime: Option<i32>
§btime: Option<i32>
§winc: Option<u32>
§binc: Option<u32>
§moves_to_go: Option<u32>
§depth: Option<PlyKind>
§nodes: Option<u64>
§mate: Option<u32>
§move_time: Option<u32>
§infinite: bool
Implementations§
Trait Implementations§
Source§impl Clone for SearchControls
impl Clone for SearchControls
Source§fn clone(&self) -> SearchControls
fn clone(&self) -> SearchControls
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 Debug for SearchControls
impl Debug for SearchControls
Source§impl Default for SearchControls
impl Default for SearchControls
Source§impl Hash for SearchControls
impl Hash for SearchControls
Source§impl PartialEq for SearchControls
impl PartialEq for SearchControls
Source§impl TryFrom<SearchControls> for Mode
impl TryFrom<SearchControls> for Mode
impl Copy for SearchControls
impl Eq for SearchControls
impl StructuralPartialEq for SearchControls
Auto Trait Implementations§
impl Freeze for SearchControls
impl RefUnwindSafe for SearchControls
impl Send for SearchControls
impl Sync for SearchControls
impl Unpin for SearchControls
impl UnwindSafe for SearchControls
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