pub enum Score {
LowerBound(isize),
UpperBound(isize),
}
Expand description
A score in a transposition table.
Variants§
LowerBound(isize)
The lower bound of the score. This generally doesn’t bring too much benefit, but still helps optimize a bit.
UpperBound(isize)
The upper bound of the score, which helps get rid of many useless branches.
Trait Implementations§
impl Copy for Score
impl Eq for Score
impl StructuralPartialEq for Score
Auto Trait Implementations§
impl Freeze for Score
impl RefUnwindSafe for Score
impl Send for Score
impl Sync for Score
impl Unpin for Score
impl UnwindSafe for Score
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