[][src]Trait geo::CoordinateType

pub trait CoordinateType: Copy + PartialOrd<Self> + NumCast + Num { }

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> CoordinateType for T where
    T: Copy + PartialOrd<T> + NumCast + Num
[src]

Loading content...