pub trait Point: Debug {
    fn lat(&self) -> f64;
    fn lng(&self) -> f64;
}
Expand description

Point contains accessors for a coordinate’s latitude (lat) and longitude (lng).

Note: Point is not implemented for &[f64; 2] due to geojson’s format being [longitude, latitude] rather than [latitude, longitude] which is expected by this algorithm.

Required methods

Implementations on Foreign Types

Implementors