pub trait AddDirection {
// Required method
fn checked_add_direction(self, direction: Direction) -> Option<Self>
where Self: Sized;
}
Expand description
Trait that encapsulates taking a screeps::Direction constant and producing a new node from it.