Trait screeps::objects::HasPosition
source · [−]Expand description
Trait for things which have positions in the Screeps world.
This can be freely implemented for anything with a way to get a position.
Required Methods
Implementors
impl HasPosition for Position
impl<T> HasPosition for Twhere
T: RoomObjectProperties,
All RoomObject
s have positions.