//! A point is a location in a two-dimensional space.
usederive_getters::Getters;/// A point is a location in a two-dimensional space.
#[derive(Debug, Getters, PartialEq)]pubstructPoint{/// The x-coordinate of the point.
x:u32,
/// The y-coordinate of the point.
y:u32,
}implPoint{/// Create a new point with the given coordinates.
pubfnnew(x:u32, y:u32)->Self{Self{ x, y }}}