Enum screeps::enums::StoreObject  
source · pub enum StoreObject {
Show 18 variants
    Creep(Creep),
    PowerCreep(PowerCreep),
    Ruin(Ruin),
    ScoreCollector(ScoreCollector),
    ScoreContainer(ScoreContainer),
    StructureContainer(StructureContainer),
    StructureExtension(StructureExtension),
    StructureFactory(StructureFactory),
    StructureLab(StructureLab),
    StructureLink(StructureLink),
    StructureNuker(StructureNuker),
    StructurePowerSpawn(StructurePowerSpawn),
    StructureSpawn(StructureSpawn),
    StructureStorage(StructureStorage),
    StructureTerminal(StructureTerminal),
    StructureTower(StructureTower),
    SymbolContainer(SymbolContainer),
    Tombstone(Tombstone),
}Variants§
Creep(Creep)
PowerCreep(PowerCreep)
Ruin(Ruin)
ScoreCollector(ScoreCollector)
Available on crate feature 
score only.ScoreContainer(ScoreContainer)
Available on crate feature 
score only.StructureContainer(StructureContainer)
StructureExtension(StructureExtension)
StructureFactory(StructureFactory)
StructureLab(StructureLab)
StructureLink(StructureLink)
StructureNuker(StructureNuker)
StructurePowerSpawn(StructurePowerSpawn)
StructureSpawn(StructureSpawn)
StructureStorage(StructureStorage)
StructureTerminal(StructureTerminal)
StructureTower(StructureTower)
SymbolContainer(SymbolContainer)
Available on crate feature 
symbols only.Tombstone(Tombstone)
Trait Implementations§
source§impl From<Creep> for StoreObject
 
impl From<Creep> for StoreObject
source§fn from(v: Creep) -> StoreObject
 
fn from(v: Creep) -> StoreObject
Converts to this type from the input type.
source§impl From<PowerCreep> for StoreObject
 
impl From<PowerCreep> for StoreObject
source§fn from(v: PowerCreep) -> StoreObject
 
fn from(v: PowerCreep) -> StoreObject
Converts to this type from the input type.
source§impl From<Ruin> for StoreObject
 
impl From<Ruin> for StoreObject
source§fn from(v: Ruin) -> StoreObject
 
fn from(v: Ruin) -> StoreObject
Converts to this type from the input type.
source§impl From<ScoreCollector> for StoreObject
Available on crate feature score only. 
impl From<ScoreCollector> for StoreObject
Available on crate feature 
score only.source§fn from(v: ScoreCollector) -> StoreObject
 
fn from(v: ScoreCollector) -> StoreObject
Converts to this type from the input type.
source§impl From<ScoreContainer> for StoreObject
Available on crate feature score only. 
impl From<ScoreContainer> for StoreObject
Available on crate feature 
score only.source§fn from(v: ScoreContainer) -> StoreObject
 
fn from(v: ScoreContainer) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureContainer> for StoreObject
 
impl From<StructureContainer> for StoreObject
source§fn from(v: StructureContainer) -> StoreObject
 
fn from(v: StructureContainer) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureExtension> for StoreObject
 
impl From<StructureExtension> for StoreObject
source§fn from(v: StructureExtension) -> StoreObject
 
fn from(v: StructureExtension) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureFactory> for StoreObject
 
impl From<StructureFactory> for StoreObject
source§fn from(v: StructureFactory) -> StoreObject
 
fn from(v: StructureFactory) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureLab> for StoreObject
 
impl From<StructureLab> for StoreObject
source§fn from(v: StructureLab) -> StoreObject
 
fn from(v: StructureLab) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureLink> for StoreObject
 
impl From<StructureLink> for StoreObject
source§fn from(v: StructureLink) -> StoreObject
 
fn from(v: StructureLink) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureNuker> for StoreObject
 
impl From<StructureNuker> for StoreObject
source§fn from(v: StructureNuker) -> StoreObject
 
fn from(v: StructureNuker) -> StoreObject
Converts to this type from the input type.
source§impl From<StructurePowerSpawn> for StoreObject
 
impl From<StructurePowerSpawn> for StoreObject
source§fn from(v: StructurePowerSpawn) -> StoreObject
 
fn from(v: StructurePowerSpawn) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureSpawn> for StoreObject
 
impl From<StructureSpawn> for StoreObject
source§fn from(v: StructureSpawn) -> StoreObject
 
fn from(v: StructureSpawn) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureStorage> for StoreObject
 
impl From<StructureStorage> for StoreObject
source§fn from(v: StructureStorage) -> StoreObject
 
fn from(v: StructureStorage) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureTerminal> for StoreObject
 
impl From<StructureTerminal> for StoreObject
source§fn from(v: StructureTerminal) -> StoreObject
 
fn from(v: StructureTerminal) -> StoreObject
Converts to this type from the input type.
source§impl From<StructureTower> for StoreObject
 
impl From<StructureTower> for StoreObject
source§fn from(v: StructureTower) -> StoreObject
 
fn from(v: StructureTower) -> StoreObject
Converts to this type from the input type.
source§impl From<SymbolContainer> for StoreObject
Available on crate feature symbols only. 
impl From<SymbolContainer> for StoreObject
Available on crate feature 
symbols only.source§fn from(v: SymbolContainer) -> StoreObject
 
fn from(v: SymbolContainer) -> StoreObject
Converts to this type from the input type.
source§impl From<Tombstone> for StoreObject
 
impl From<Tombstone> for StoreObject
source§fn from(v: Tombstone) -> StoreObject
 
fn from(v: Tombstone) -> StoreObject
Converts to this type from the input type.
source§impl HasStore for StoreObject
 
impl HasStore for StoreObject
source§impl TryFrom<StructureObject> for StoreObject
 
impl TryFrom<StructureObject> for StoreObject
§type Error = StoreObjectConversionError
 
type Error = StoreObjectConversionError
The type returned in the event of a conversion error.
source§impl TryInto<Creep> for StoreObject
 
impl TryInto<Creep> for StoreObject
source§impl TryInto<PowerCreep> for StoreObject
 
impl TryInto<PowerCreep> for StoreObject
source§impl TryInto<Ruin> for StoreObject
 
impl TryInto<Ruin> for StoreObject
source§impl TryInto<ScoreCollector> for StoreObject
Available on crate feature score only. 
impl TryInto<ScoreCollector> for StoreObject
Available on crate feature 
score only.source§impl TryInto<ScoreContainer> for StoreObject
Available on crate feature score only. 
impl TryInto<ScoreContainer> for StoreObject
Available on crate feature 
score only.source§impl TryInto<StructureContainer> for StoreObject
 
impl TryInto<StructureContainer> for StoreObject
source§impl TryInto<StructureExtension> for StoreObject
 
impl TryInto<StructureExtension> for StoreObject
source§impl TryInto<StructureFactory> for StoreObject
 
impl TryInto<StructureFactory> for StoreObject
source§impl TryInto<StructureLab> for StoreObject
 
impl TryInto<StructureLab> for StoreObject
source§impl TryInto<StructureLink> for StoreObject
 
impl TryInto<StructureLink> for StoreObject
source§impl TryInto<StructureNuker> for StoreObject
 
impl TryInto<StructureNuker> for StoreObject
source§impl TryInto<StructurePowerSpawn> for StoreObject
 
impl TryInto<StructurePowerSpawn> for StoreObject
source§impl TryInto<StructureSpawn> for StoreObject
 
impl TryInto<StructureSpawn> for StoreObject
source§impl TryInto<StructureStorage> for StoreObject
 
impl TryInto<StructureStorage> for StoreObject
source§impl TryInto<StructureTerminal> for StoreObject
 
impl TryInto<StructureTerminal> for StoreObject
source§impl TryInto<StructureTower> for StoreObject
 
impl TryInto<StructureTower> for StoreObject
source§impl TryInto<SymbolContainer> for StoreObject
Available on crate feature symbols only. 
impl TryInto<SymbolContainer> for StoreObject
Available on crate feature 
symbols only.Auto Trait Implementations§
impl RefUnwindSafe for StoreObject
impl !Send for StoreObject
impl !Sync for StoreObject
impl Unpin for StoreObject
impl UnwindSafe for StoreObject
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more