Struct sc2::UpgradeData
[−]
[src]
pub struct UpgradeData { pub upgrade: Upgrade, pub name: String, pub mineral_cost: u32, pub vespene_cost: u32, pub ability: Ability, pub research_time: f32, }
upgrade data
Fields
upgrade: Upgrade
stable upgrade ID
name: String
upgrade name (corresponds to the game's catalog)
mineral_cost: u32
mineral cost of researching this upgrade
vespene_cost: u32
vespene cost of researching this upgrade
ability: Ability
ability that researches this upgrade
research_time: f32
time in game steps to research this upgrade
Trait Implementations
impl Debug for UpgradeData
[src]
impl Clone for UpgradeData
[src]
fn clone(&self) -> UpgradeData
[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