Enum screeps::constants::ResourceType [] [src]

#[repr(u32)]
pub enum ResourceType { Energy, Power, Hydrogen, Oxygen, Utrium, Lemergium, Keanium, Zynthium, Catalyst, Ghodium, Hydroxide, ZynthiumKeanite, UtriumLemergite, UtriumHydride, UtriumOxide, KeaniumHydride, KeaniumOxide, LemergiumHydride, LemergiumOxide, ZynthiumHydride, ZynthiumOxide, GhodiumHydride, GhodiumOxide, UtriumAcid, UtriumAlkalide, KeaniumAcid, KeaniumAlkalide, LemergiumAcid, LemergiumAlkalide, ZynthiumAcid, ZynthiumAlkalide, GhodiumAcid, GhodiumAlkalide, CatalyzedUtriumAcid, CatalyzedUtriumAlkalide, CatalyzedKeaniumAcid, CatalyzedKeaniumAlkalide, CatalyzedLemergiumAcid, CatalyzedLemergiumAlkalide, CatalyzedZynthiumAcid, CatalyzedZynthiumAlkalide, CatalyzedGhodiumAcid, CatalyzedGhodiumAlkalide, }

Variants

Trait Implementations

impl Copy for ResourceType
[src]

impl Clone for ResourceType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ResourceType
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ResourceType
[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 TryFrom<Value> for ResourceType
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.