Trait geo_types::CoordNum [−][src]
pub trait CoordNum: CoordinateType + Debug { }
Expand description
The type of an x or y value of a point/coordinate.
Floats (f32
and f64
) and Integers (u8
, i32
etc.) implement this.
For algorithms which only make sense for floating point, like area or length calculations, see CoordFloat.