pub struct KTable {
pub table: Box<[[KTableEntry; 2]; 64]>,
}
Fields§
§table: Box<[[KTableEntry; 2]; 64]>
Implementations§
source§impl KTable
impl KTable
sourcepub fn add(&mut self, ply: u16, move: Move)
pub fn add(&mut self, ply: u16, move: Move)
Adds a new killer r#move
at the level specified by ply
value. Maximal amount of slots for each of them is set by
KILLER_SLOTS constant, and newer entries have always a priority over old ones. If there’s already exactly the same
move in the slot 0, the table is not changed.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for KTable
impl Send for KTable
impl Sync for KTable
impl Unpin for KTable
impl UnwindSafe for KTable
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