Enum gomoku::ia::turn::Turn [] [src]

pub enum Turn {
    Player,
    Adversary,
}

Variants

Player

Player is looking to maximise the value of the heuristic

Adversary

Adversary is looking to minimise the value of the heuristic

Methods

impl Turn

fn other(&self) -> Turn

fn sign_alternation(&self) -> i32

Trait Implementations

Derived Implementations

impl Clone for Turn

fn clone(&self) -> Turn

1.0.0fn clone_from(&mut self, source: &Self)

impl PartialEq for Turn

fn eq(&self, __arg_0: &Turn) -> bool

fn ne(&self, __arg_0: &Turn) -> bool

impl Debug for Turn

fn fmt(&self, __arg_0: &mut Formatter) -> Result