Trait geo_types::CoordNum

source ·
pub trait CoordNum: CoordinateType + Debug { }
Expand description

For algorithms which can use both integer and floating point Points/Coords

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.

Object Safety§

This trait is not object safe.

Implementors§