pub trait PointLike { // Required methods fn to_point(&self) -> Point; fn to_position(&self) -> Position; }