pub trait CoordinateType: Num + Copy + PartialOrd<Self> + Sized { }
Expand description

Trait for types that can be used as coordinates in the euclidean plane. In practice this are integers, floats and possible rational numbers.

Implementors§

§

impl<T> CoordinateType for Twhere T: Num + Copy + PartialOrd<T>,