pub trait Coord2dLike { // Required methods fn x(&self) -> f64; fn y(&self) -> f64; }
Coord2d like trait for 2D coordinates has x/y getters
Coord2d
Returns the x value
Returns the y value