pub enum Horizon {
Sides(u32),
Turns(u32),
}Expand description
When a playout stops, short of the game’s end.
Variants§
Sides(u32)
After the side to move has changed this many times (the candidate’s own change included).
Turns(u32)
After Sides::turn has gone up this many.
Trait Implementations§
impl Copy for Horizon
Source§impl<'de> Deserialize<'de> for Horizon
impl<'de> Deserialize<'de> for Horizon
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Horizon
impl StructuralPartialEq for Horizon
Auto Trait Implementations§
impl Freeze for Horizon
impl RefUnwindSafe for Horizon
impl Send for Horizon
impl Sync for Horizon
impl Unpin for Horizon
impl UnsafeUnpin for Horizon
impl UnwindSafe for Horizon
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