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

Methods

impl StructureType
[src]

[src]

[src]

Trait Implementations

impl Copy for StructureType
[src]

impl Clone for StructureType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for StructureType
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for StructureType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for StructureType
[src]

impl TryFrom<Value> for StructureType
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for StructureType

impl Sync for StructureType