Struct usi::ThinkParams
source · [−]pub struct ThinkParams { /* private fields */ }
Expand description
Represents parameters of “go” command.
Implementations
sourceimpl ThinkParams
impl ThinkParams
pub fn new() -> Self
pub fn ponder(self) -> Self
pub fn btime(self, t: Duration) -> Self
pub fn wtime(self, t: Duration) -> Self
pub fn byoyomi(self, t: Duration) -> Self
pub fn binc(self, t: Duration) -> Self
pub fn winc(self, t: Duration) -> Self
pub fn infinite(self) -> Self
pub fn mate(self, t: MateParam) -> Self
Trait Implementations
sourceimpl Clone for ThinkParams
impl Clone for ThinkParams
sourcefn clone(&self) -> ThinkParams
fn clone(&self) -> ThinkParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ThinkParams
impl Debug for ThinkParams
sourceimpl Default for ThinkParams
impl Default for ThinkParams
sourcefn default() -> ThinkParams
fn default() -> ThinkParams
Returns the “default value” for a type. Read more
sourceimpl Display for ThinkParams
impl Display for ThinkParams
sourceimpl Hash for ThinkParams
impl Hash for ThinkParams
sourceimpl PartialEq<ThinkParams> for ThinkParams
impl PartialEq<ThinkParams> for ThinkParams
sourcefn eq(&self, other: &ThinkParams) -> bool
fn eq(&self, other: &ThinkParams) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ThinkParams) -> bool
fn ne(&self, other: &ThinkParams) -> bool
This method tests for !=
.
impl Eq for ThinkParams
impl StructuralEq for ThinkParams
impl StructuralPartialEq for ThinkParams
Auto Trait Implementations
impl RefUnwindSafe for ThinkParams
impl Send for ThinkParams
impl Sync for ThinkParams
impl Unpin for ThinkParams
impl UnwindSafe for ThinkParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more