Struct rust_sc2::consts::RaceValues [−][src]
pub struct RaceValues {
pub start_townhall: UnitTypeId,
pub townhalls: Vec<UnitTypeId>,
pub gas: UnitTypeId,
pub rich_gas: UnitTypeId,
pub supply: UnitTypeId,
pub worker: UnitTypeId,
}Structured values, specific for each race.
Fields
start_townhall: UnitTypeIdDefault townhall without any upgrades, which can be built by a worker.
townhalls: Vec<UnitTypeId>All possible forms of townhall.
gas: UnitTypeIdBuilding used to extract gas from vespene geysers.
rich_gas: UnitTypeIdBuilding used to extract gas from rich vespene geysers.
supply: UnitTypeIdSupply provider for this race.
worker: UnitTypeIdWorker of this race.
Trait Implementations
impl Clone for RaceValues[src]
impl Clone for RaceValues[src]fn clone(&self) -> RaceValues[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for RaceValues[src]
impl Default for RaceValues[src]Auto Trait Implementations
impl RefUnwindSafe for RaceValues
impl RefUnwindSafe for RaceValuesimpl Send for RaceValues
impl Send for RaceValuesimpl Sync for RaceValues
impl Sync for RaceValuesimpl Unpin for RaceValues
impl Unpin for RaceValuesimpl UnwindSafe for RaceValues
impl UnwindSafe for RaceValues