Enum screeps::enums::AttackableObject
source · pub enum AttackableObject {
Show 20 variants
Creep(Creep),
PowerCreep(PowerCreep),
StructureContainer(StructureContainer),
StructureExtension(StructureExtension),
StructureExtractor(StructureExtractor),
StructureFactory(StructureFactory),
StructureInvaderCore(StructureInvaderCore),
StructureLab(StructureLab),
StructureLink(StructureLink),
StructureNuker(StructureNuker),
StructureObserver(StructureObserver),
StructurePowerBank(StructurePowerBank),
StructurePowerSpawn(StructurePowerSpawn),
StructureRampart(StructureRampart),
StructureRoad(StructureRoad),
StructureSpawn(StructureSpawn),
StructureStorage(StructureStorage),
StructureTerminal(StructureTerminal),
StructureTower(StructureTower),
StructureWall(StructureWall),
}
Variants§
Creep(Creep)
PowerCreep(PowerCreep)
StructureContainer(StructureContainer)
StructureExtension(StructureExtension)
StructureExtractor(StructureExtractor)
StructureFactory(StructureFactory)
StructureInvaderCore(StructureInvaderCore)
StructureLab(StructureLab)
StructureLink(StructureLink)
StructureNuker(StructureNuker)
StructureObserver(StructureObserver)
StructurePowerBank(StructurePowerBank)
StructurePowerSpawn(StructurePowerSpawn)
StructureRampart(StructureRampart)
StructureRoad(StructureRoad)
StructureSpawn(StructureSpawn)
StructureStorage(StructureStorage)
StructureTerminal(StructureTerminal)
StructureTower(StructureTower)
StructureWall(StructureWall)
Trait Implementations§
source§impl AsRef<RoomObject> for AttackableObject
impl AsRef<RoomObject> for AttackableObject
source§fn as_ref(&self) -> &RoomObject
fn as_ref(&self) -> &RoomObject
Converts this type into a shared reference of the (usually inferred) input type.
source§impl From<AttackableObject> for RoomObject
impl From<AttackableObject> for RoomObject
source§fn from(attackable: AttackableObject) -> Self
fn from(attackable: AttackableObject) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AttackableObject
impl !Send for AttackableObject
impl !Sync for AttackableObject
impl Unpin for AttackableObject
impl UnwindSafe for AttackableObject
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