Trait CoordinateBase

Source
pub trait CoordinateBase {
    type Coord: Num + Signed + Copy + PartialEq + PartialOrd;
}
Expand description

Define a type used for coordinates.

Required Associated Types§

Source

type Coord: Num + Signed + Copy + PartialEq + PartialOrd

Base coordinate type used for x and y coordinates.

Implementors§

Source§

impl<T> CoordinateBase for T
where T: Num + Signed + Copy + PartialEq + PartialOrd,

Source§

type Coord = T