zng_layout::unit::euclid

Function point2

pub const fn point2<T, U>(x: T, y: T) -> Point2D<T, U>
Expand description

Shorthand for Point2D::new(x, y).