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