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]

[src]

does the PlayerSetup represent a player

[src]

does the PlayerSetup represent a computer

Trait Implementations

impl Debug for PlayerSetup
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for PlayerSetup
[src]

impl Clone for PlayerSetup
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for PlayerSetup

impl Sync for PlayerSetup