Struct timecat::GlobalTimecatState
source · pub struct GlobalTimecatState { /* private fields */ }Implementations§
source§impl GlobalTimecatState
impl GlobalTimecatState
pub const fn new() -> Self
pub fn terminate_engine(&self) -> bool
pub fn set_engine_termination(&self, b: bool)
pub fn is_colored(&self) -> bool
pub fn set_colored(&self, b: bool, verbose: bool)
pub fn is_in_console_mode(&self) -> bool
pub fn is_in_uci_mode(&self) -> bool
pub fn set_console_mode(&self, b: bool, verbose: bool)
pub fn set_uci_mode(&self, b: bool, verbose: bool)
pub fn set_to_uci_mode(&self)
pub fn set_to_console_mode(&self)
pub fn get_t_table_size(&self) -> CacheTableSize
pub fn set_t_table_size( &self, transposition_table: &TranspositionTable, size: CacheTableSize, )
pub fn use_long_algebraic_notation(&self) -> bool
pub fn set_long_algebraic_notation(&self, b: bool)
pub fn get_num_threads(&self) -> usize
pub fn set_num_threads(&self, num_threads: usize, verbose: bool)
pub fn get_move_overhead(&self) -> Duration
pub fn set_move_overhead(&self, duration: Duration)
pub fn use_own_book(&self) -> bool
pub fn set_using_own_book(&self, b: bool)
pub fn is_in_debug_mode(&self) -> bool
pub fn set_debug_mode(&self, b: bool)
pub fn is_in_console_and_debug_mode(&self) -> bool
pub fn is_in_chess960_mode(&self) -> bool
pub fn set_chess960_mode(&self, b: bool)
Trait Implementations§
source§impl Debug for GlobalTimecatState
impl Debug for GlobalTimecatState
Auto Trait Implementations§
impl !Freeze for GlobalTimecatState
impl RefUnwindSafe for GlobalTimecatState
impl Send for GlobalTimecatState
impl Sync for GlobalTimecatState
impl Unpin for GlobalTimecatState
impl UnwindSafe for GlobalTimecatState
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> 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