Struct inanis::engine::context::HelperThreadContext
source · pub struct HelperThreadContext {
pub board: Board,
pub pawn_hashtable: Arc<PawnHashTable>,
pub killers_table: Arc<KillersTable>,
pub history_table: Arc<HistoryTable>,
pub context: SearchContext,
}
Fields§
§board: Board
§pawn_hashtable: Arc<PawnHashTable>
§killers_table: Arc<KillersTable>
§history_table: Arc<HistoryTable>
§context: SearchContext
Implementations§
source§impl HelperThreadContext
impl HelperThreadContext
sourcepub fn new(
board: Board,
pawn_hashtable: Arc<PawnHashTable>,
killers_table: Arc<KillersTable>,
history_table: Arc<HistoryTable>,
context: SearchContext
) -> Self
pub fn new( board: Board, pawn_hashtable: Arc<PawnHashTable>, killers_table: Arc<KillersTable>, history_table: Arc<HistoryTable>, context: SearchContext ) -> Self
Constructs a new instance of HelperThreadContext with stored board
, pawn_hashtable
, killers_table
, history_table
and context
.
Auto Trait Implementations§
impl RefUnwindSafe for HelperThreadContext
impl Send for HelperThreadContext
impl Sync for HelperThreadContext
impl Unpin for HelperThreadContext
impl UnwindSafe for HelperThreadContext
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