Trait screeps::traits::Dismantleable
source · pub trait Dismantleable: HasHits + AsRef<Structure> { }
Expand description
Trait for all wrappers over Screeps JavaScript objects which can be the
target of Creep.dismantle
.
Contracts
The reference returned from AsRef<Structure>::as_ref
must be a valid
target for Creep.dismantle
.