Enum sc2::data::Difficulty
[−]
[src]
pub enum Difficulty { VeryEasy, Easy, Medium, MediumHard, Hard, Harder, VeryHard, CheatVision, CheatMoney, CheatInsane, }
difficulty setting for built-in StarCraft II AI
Variants
VeryEasy
Easy
Medium
MediumHard
Hard
Harder
VeryHard
CheatVision
CheatMoney
CheatInsane
Methods
impl Difficulty
[src]
pub fn to_proto(&self) -> Difficulty
[src]
convert to protobuf data
Trait Implementations
impl Debug for Difficulty
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for Difficulty
[src]
impl Clone for Difficulty
[src]
fn clone(&self) -> Difficulty
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more