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
Spawn
Extension
Road
Wall
Rampart
KeeperLair
Portal
Controller
Link
Storage
Tower
Observer
PowerBank
PowerSpawn
Extractor
Lab
Terminal
Container
Nuker
Methods
impl StructureType
[src]
pub fn construction_cost(&self) -> i32
[src]
pub 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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
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) -> bool
1.0.0[src]
This method tests for !=
.