Struct gomoku::cmd_option::CmdOption [] [src]

pub struct CmdOption {
    pub player: Player,
    pub friend: Player,
    pub layers: u32,
    pub human_help: bool,
    pub info: bool,
    pub debug_map: bool,
    pub init_map: GoBoard,
}

Fields

player
friend
layers
human_help
info
debug_map
init_map

Methods

impl CmdOption

fn parse(m: &ArgMatches) -> CmdOption

Trait Implementations

Derived Implementations

impl Debug for CmdOption

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