Trait screeps::traits::Withdrawable
source · pub trait Withdrawable: AsRef<RoomObject> { }
Expand description
Trait for all wrappers over Screeps JavaScript objects which can be the
target of Creep.withdraw
.
Contracts
The reference returned from AsRef<RoomObject>::as_ref
must be a valid
target for Creep.withdraw
.
Implementors§
impl Withdrawable for Ruin
impl Withdrawable for ScoreContainer
Available on crate feature
seasonal-season-1
only.impl Withdrawable for StructureContainer
impl Withdrawable for StructureExtension
impl Withdrawable for StructureFactory
impl Withdrawable for StructureLab
impl Withdrawable for StructureLink
impl Withdrawable for StructurePowerSpawn
impl Withdrawable for StructureSpawn
impl Withdrawable for StructureStorage
impl Withdrawable for StructureTerminal
impl Withdrawable for StructureTower
impl Withdrawable for SymbolContainer
Available on crate feature
seasonal-season-2
only.