pub trait Point<T: Copy> { fn x(&self) -> T; fn y(&self) -> T; }
Reinterpret [T; 2] as a point
Get the x component of the point
Get the y component of the point