macro_rules! point { (x: $x:expr, y: $y:expr) => { ... }; }
Creates a Point from the given coordinates.
Point
point!(x: <number>, y: <number>)
Creating a Point, supplying x/y values:
use geo_types::point; let p = point!(x: 181.2, y: 51.79); assert_eq!(p, geo_types::Point(geo_types::Coordinate { x: 181.2, y: 51.79, }));