pub struct Cache { /* private fields */ }
Expand description
During position.do_move, there are a number of variables that are updated in one direction, which are restored from backups in MoveInfo during position.undo_move. Instead of each MoveInfo keeping its own repetitive copy of this undone info, they should be saved separately.
Implementations§
Trait Implementations§
impl Copy for Cache
impl Eq for Cache
impl StructuralPartialEq for Cache
Auto Trait Implementations§
impl Freeze for Cache
impl RefUnwindSafe for Cache
impl Send for Cache
impl Sync for Cache
impl Unpin for Cache
impl UnwindSafe for Cache
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