zng_layout::unit::euclid

Function vec2

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

Convenience constructor.