Skip to main content

facing

Function facing 

Source
pub fn facing(from: Pos, to: Pos) -> Facing
Expand description

The way a step from from to to goes: left or right if it goes across at all, else up or down.