pub trait Position { // Required methods fn x(&self) -> u32; fn y(&self) -> u32; }
Something with a 2d position.
x-coordinate.
y-coordinate.