pub enum Bonus {
Zero,
NMinusOne,
N,
}Expand description
Bonus points white receives in handicap games.
Variants§
Zero
White receives no bonus points.
NMinusOne
White receives bonus points equal to one less than the number of handicap stones.
N
White receives bonus points equal to the number of handicap stones.
Trait Implementations§
impl Copy for Bonus
impl Eq for Bonus
impl StructuralPartialEq for Bonus
Auto Trait Implementations§
impl Freeze for Bonus
impl RefUnwindSafe for Bonus
impl Send for Bonus
impl Sync for Bonus
impl Unpin for Bonus
impl UnsafeUnpin for Bonus
impl UnwindSafe for Bonus
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