pub struct RaceValues {
pub start_townhall: UnitTypeId,
pub townhalls: Vec<UnitTypeId>,
pub gas: UnitTypeId,
pub rich_gas: UnitTypeId,
pub supply: UnitTypeId,
pub worker: UnitTypeId,
}Expand description
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§
Source§impl Clone for RaceValues
impl Clone for RaceValues
Source§fn clone(&self) -> RaceValues
fn clone(&self) -> RaceValues
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RaceValues
impl RefUnwindSafe for RaceValues
impl Send for RaceValues
impl Sync for RaceValues
impl Unpin for RaceValues
impl UnwindSafe for RaceValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more