Trait screeps::constants::LookConstant
[−]
[src]
pub unsafe trait LookConstant {
type Item: TryFrom<Value, Error = <Reference as TryFrom<Value>>::Error>;
fn look_code(&self) -> Look;
}
Associated Types
Required Methods
fn look_code(&self) -> Look
Implementors
impl LookConstant for CREEPS type Item = Creep;impl LookConstant for ENERGY type Item = Resource;impl LookConstant for RESOURCES type Item = Resource;impl LookConstant for SOURCES type Item = Source;impl LookConstant for MINERALS type Item = Mineral;impl LookConstant for STRUCTURES type Item = Structure;impl LookConstant for FLAGS type Item = Flag;impl LookConstant for CONSTRUCTION_SITES type Item = ConstructionSite;impl LookConstant for NUKES type Item = Nuke;impl LookConstant for TERRAIN type Item = Terrain;