[][src]Trait geo_types::CoordinateType

pub trait CoordinateType: Num + Copy + NumCast + PartialOrd { }

The type of an x or y value of a point/coordinate.

Floats (f32 and f64) and Integers (u8, i32 etc.) implement this. Many algorithms only make sense for Float types (like area, or length calculations).

Implementors

impl<T: Num + Copy + NumCast + PartialOrd> CoordinateType for T[src]

Loading content...