Skip to main content

direction_between

Function direction_between 

Source
pub fn direction_between(from: Point, to: Point) -> Option<Direction>
Expand description

The cardinal direction of travel from from to to, or None if the points coincide. Greater y is South, matching the successor walk the search itself uses.