Enum screeps::constants::StructureType
[−]
[src]
#[repr(u32)]pub enum StructureType { Spawn, Extension, Road, Wall, Rampart, KeeperLair, Portal, Controller, Link, Storage, Tower, Observer, PowerBank, PowerSpawn, Extractor, Lab, Terminal, Container, Nuker, }
Variants
SpawnExtensionRoadWallRampartKeeperLairPortalControllerLinkStorageTowerObserverPowerBankPowerSpawnExtractorLabTerminalContainerNuker
Methods
impl StructureType[src]
fn construction_cost(&self) -> i32[src]
fn initial_hits(&self) -> i32[src]
Trait Implementations
impl Copy for StructureType[src]
impl Clone for StructureType[src]
fn clone(&self) -> StructureType[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
impl Debug for StructureType[src]
impl PartialEq for StructureType[src]
fn eq(&self, __arg_0: &StructureType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.