pub enum Bound {
None = 0,
DefoWin = 1,
DefoLose = 2,
}
Expand description
Used for alpha-beta pruning to mark nodes as having a definite outcome.
Variants§
None = 0
The outcome of the node is not yet determined.
DefoWin = 1
This node is a guaranteed win for the current player.
DefoLose = 2
This node is a guaranteed loss for the current player.
Trait Implementations§
impl Copy for Bound
impl Eq for Bound
impl StructuralPartialEq for Bound
Auto Trait Implementations§
impl Freeze for Bound
impl RefUnwindSafe for Bound
impl Send for Bound
impl Sync for Bound
impl Unpin for Bound
impl UnwindSafe for Bound
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