Trait CoordinateType

Source
pub trait CoordinateType:
    Num
    + Copy
    + PartialOrd
    + 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.

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.

Implementors§