pub enum ObjectWithId {
Show 32 variants Deposit(Deposit), Mineral(Mineral), Nuke(Nuke), Resource(Resource), Ruin(Ruin), ScoreCollector(ScoreCollector), ScoreContainer(ScoreContainer), Source(Source), StructureContainer(StructureContainer), StructureController(StructureController), StructureExtension(StructureExtension), StructureExtractor(StructureExtractor), StructureFactory(StructureFactory), StructureInvaderCore(StructureInvaderCore), StructureKeeperLair(StructureKeeperLair), StructureLab(StructureLab), StructureLink(StructureLink), StructureNuker(StructureNuker), StructureObserver(StructureObserver), StructurePortal(StructurePortal), StructurePowerBank(StructurePowerBank), StructurePowerSpawn(StructurePowerSpawn), StructureRampart(StructureRampart), StructureRoad(StructureRoad), StructureSpawn(StructureSpawn), StructureStorage(StructureStorage), StructureTerminal(StructureTerminal), StructureTower(StructureTower), StructureWall(StructureWall), SymbolContainer(SymbolContainer), SymbolDecoder(SymbolDecoder), Tombstone(Tombstone),
}

Variants§

§

Deposit(Deposit)

§

Mineral(Mineral)

§

Nuke(Nuke)

§

Resource(Resource)

§

Ruin(Ruin)

§

ScoreCollector(ScoreCollector)

Available on crate feature score only.
§

ScoreContainer(ScoreContainer)

Available on crate feature score only.
§

Source(Source)

§

StructureContainer(StructureContainer)

§

StructureController(StructureController)

§

StructureExtension(StructureExtension)

§

StructureExtractor(StructureExtractor)

§

StructureFactory(StructureFactory)

§

StructureInvaderCore(StructureInvaderCore)

§

StructureKeeperLair(StructureKeeperLair)

§

StructureLab(StructureLab)

§

StructureNuker(StructureNuker)

§

StructureObserver(StructureObserver)

§

StructurePortal(StructurePortal)

§

StructurePowerBank(StructurePowerBank)

§

StructurePowerSpawn(StructurePowerSpawn)

§

StructureRampart(StructureRampart)

§

StructureRoad(StructureRoad)

§

StructureSpawn(StructureSpawn)

§

StructureStorage(StructureStorage)

§

StructureTerminal(StructureTerminal)

§

StructureTower(StructureTower)

§

StructureWall(StructureWall)

§

SymbolContainer(SymbolContainer)

Available on crate feature symbols only.
§

SymbolDecoder(SymbolDecoder)

Available on crate feature symbols only.
§

Tombstone(Tombstone)

Trait Implementations§

source§

impl From<Deposit> for ObjectWithId

source§

fn from(v: Deposit) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<Mineral> for ObjectWithId

source§

fn from(v: Mineral) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<Nuke> for ObjectWithId

source§

fn from(v: Nuke) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<Resource> for ObjectWithId

source§

fn from(v: Resource) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<Ruin> for ObjectWithId

source§

fn from(v: Ruin) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<ScoreCollector> for ObjectWithId

Available on crate feature score only.
source§

fn from(v: ScoreCollector) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<ScoreContainer> for ObjectWithId

Available on crate feature score only.
source§

fn from(v: ScoreContainer) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<Source> for ObjectWithId

source§

fn from(v: Source) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureContainer> for ObjectWithId

source§

fn from(v: StructureContainer) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureController> for ObjectWithId

source§

fn from(v: StructureController) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureExtension> for ObjectWithId

source§

fn from(v: StructureExtension) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureExtractor> for ObjectWithId

source§

fn from(v: StructureExtractor) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureFactory> for ObjectWithId

source§

fn from(v: StructureFactory) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureInvaderCore> for ObjectWithId

source§

fn from(v: StructureInvaderCore) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureKeeperLair> for ObjectWithId

source§

fn from(v: StructureKeeperLair) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureLab> for ObjectWithId

source§

fn from(v: StructureLab) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureLink> for ObjectWithId

source§

fn from(v: StructureLink) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureNuker> for ObjectWithId

source§

fn from(v: StructureNuker) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureObserver> for ObjectWithId

source§

fn from(v: StructureObserver) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructurePortal> for ObjectWithId

source§

fn from(v: StructurePortal) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructurePowerBank> for ObjectWithId

source§

fn from(v: StructurePowerBank) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructurePowerSpawn> for ObjectWithId

source§

fn from(v: StructurePowerSpawn) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureRampart> for ObjectWithId

source§

fn from(v: StructureRampart) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureRoad> for ObjectWithId

source§

fn from(v: StructureRoad) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureSpawn> for ObjectWithId

source§

fn from(v: StructureSpawn) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureStorage> for ObjectWithId

source§

fn from(v: StructureStorage) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureTerminal> for ObjectWithId

source§

fn from(v: StructureTerminal) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureTower> for ObjectWithId

source§

fn from(v: StructureTower) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<StructureWall> for ObjectWithId

source§

fn from(v: StructureWall) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<SymbolContainer> for ObjectWithId

Available on crate feature symbols only.
source§

fn from(v: SymbolContainer) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<SymbolDecoder> for ObjectWithId

Available on crate feature symbols only.
source§

fn from(v: SymbolDecoder) -> ObjectWithId

Converts to this type from the input type.
source§

impl From<Tombstone> for ObjectWithId

source§

fn from(v: Tombstone) -> ObjectWithId

Converts to this type from the input type.
source§

impl HasId for ObjectWithId

source§

fn raw_id(&self) -> RawObjectId

Object ID of the object, which can be used to efficiently fetch a fresh reference to the object on subsequent ticks.

source§

impl TryInto<Deposit> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Deposit, <Self as TryInto<Deposit>>::Error>

Performs the conversion.
source§

impl TryInto<Mineral> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Mineral, <Self as TryInto<Mineral>>::Error>

Performs the conversion.
source§

impl TryInto<Nuke> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Nuke, <Self as TryInto<Nuke>>::Error>

Performs the conversion.
source§

impl TryInto<Resource> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Resource, <Self as TryInto<Resource>>::Error>

Performs the conversion.
source§

impl TryInto<Ruin> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Ruin, <Self as TryInto<Ruin>>::Error>

Performs the conversion.
source§

impl TryInto<ScoreCollector> for ObjectWithId

Available on crate feature score only.
§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<ScoreCollector, <Self as TryInto<ScoreCollector>>::Error>

Performs the conversion.
source§

impl TryInto<ScoreContainer> for ObjectWithId

Available on crate feature score only.
§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<ScoreContainer, <Self as TryInto<ScoreContainer>>::Error>

Performs the conversion.
source§

impl TryInto<Source> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Source, <Self as TryInto<Source>>::Error>

Performs the conversion.
source§

impl TryInto<StructureContainer> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureContainer, <Self as TryInto<StructureContainer>>::Error>

Performs the conversion.
source§

impl TryInto<StructureController> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureController, <Self as TryInto<StructureController>>::Error>

Performs the conversion.
source§

impl TryInto<StructureExtension> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureExtension, <Self as TryInto<StructureExtension>>::Error>

Performs the conversion.
source§

impl TryInto<StructureExtractor> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureExtractor, <Self as TryInto<StructureExtractor>>::Error>

Performs the conversion.
source§

impl TryInto<StructureFactory> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureFactory, <Self as TryInto<StructureFactory>>::Error>

Performs the conversion.
source§

impl TryInto<StructureInvaderCore> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureInvaderCore, <Self as TryInto<StructureInvaderCore>>::Error>

Performs the conversion.
source§

impl TryInto<StructureKeeperLair> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureKeeperLair, <Self as TryInto<StructureKeeperLair>>::Error>

Performs the conversion.
source§

impl TryInto<StructureLab> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureLab, <Self as TryInto<StructureLab>>::Error>

Performs the conversion.
source§

impl TryInto<StructureLink> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureLink, <Self as TryInto<StructureLink>>::Error>

Performs the conversion.
source§

impl TryInto<StructureNuker> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureNuker, <Self as TryInto<StructureNuker>>::Error>

Performs the conversion.
source§

impl TryInto<StructureObserver> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureObserver, <Self as TryInto<StructureObserver>>::Error>

Performs the conversion.
source§

impl TryInto<StructurePortal> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructurePortal, <Self as TryInto<StructurePortal>>::Error>

Performs the conversion.
source§

impl TryInto<StructurePowerBank> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructurePowerBank, <Self as TryInto<StructurePowerBank>>::Error>

Performs the conversion.
source§

impl TryInto<StructurePowerSpawn> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructurePowerSpawn, <Self as TryInto<StructurePowerSpawn>>::Error>

Performs the conversion.
source§

impl TryInto<StructureRampart> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureRampart, <Self as TryInto<StructureRampart>>::Error>

Performs the conversion.
source§

impl TryInto<StructureRoad> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureRoad, <Self as TryInto<StructureRoad>>::Error>

Performs the conversion.
source§

impl TryInto<StructureSpawn> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureSpawn, <Self as TryInto<StructureSpawn>>::Error>

Performs the conversion.
source§

impl TryInto<StructureStorage> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureStorage, <Self as TryInto<StructureStorage>>::Error>

Performs the conversion.
source§

impl TryInto<StructureTerminal> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureTerminal, <Self as TryInto<StructureTerminal>>::Error>

Performs the conversion.
source§

impl TryInto<StructureTower> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureTower, <Self as TryInto<StructureTower>>::Error>

Performs the conversion.
source§

impl TryInto<StructureWall> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<StructureWall, <Self as TryInto<StructureWall>>::Error>

Performs the conversion.
source§

impl TryInto<SymbolContainer> for ObjectWithId

Available on crate feature symbols only.
§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<SymbolContainer, <Self as TryInto<SymbolContainer>>::Error>

Performs the conversion.
source§

impl TryInto<SymbolDecoder> for ObjectWithId

Available on crate feature symbols only.
§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<SymbolDecoder, <Self as TryInto<SymbolDecoder>>::Error>

Performs the conversion.
source§

impl TryInto<Tombstone> for ObjectWithId

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Tombstone, <Self as TryInto<Tombstone>>::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.