Enum sc2::data::PlayerSetup[][src]

pub enum PlayerSetup {
    Computer(RaceDifficulty),
    Player(Race),
}

Settings for players.

Variants

Add a built-in StarCraft II bot with the given race and difficulty.

Add a user-controlled player.

Methods

impl PlayerSetup
[src]

Does the PlayerSetup represent a player?

Does the PlayerSetup represent a computer?

Trait Implementations

impl Debug for PlayerSetup
[src]

Formats the value using the given formatter. Read more

impl Copy for PlayerSetup
[src]

impl Clone for PlayerSetup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for PlayerSetup

impl Sync for PlayerSetup