pub fn point(x: i32, y: i32) -> Point
Creates a Point; shorthand for Point::new.
Point
Point::new
x
y
The new Point.