pub trait Point<T: Copy> {
    fn x(&self) -> T;
fn y(&self) -> T; }
Expand description

Reinterpret [T; 2] as a point

Required methods

Get the x component of the point

Get the y component of the point

Implementations on Foreign Types

Implementors