pub trait CoordNum: CoordinateType + Debug { }
Expand description
For algorithms which can use both integer and floating point Point
s/Coord
s
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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.