use num_traits::Num; pub mod wgs84; pub type ScreenCoord = (f64, f64); pub trait Coord { fn map(&self, axis_1: T, axis_2: T) -> ScreenCoord; fn dim1_range(&self) -> (T, T); fn dim2_range(&self) -> (T, T); }