Trait geo::CoordNum [−][src]
pub trait CoordNum: CoordinateType + Debug { }
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.
Implementors
impl<T> CoordNum for T where
T: CoordinateType + Debug,
[src]
T: CoordinateType + Debug,