iced_renderer::geometry::path::lyon_path::geom::euclid

Function vec2

pub const fn vec2<T, U>(x: T, y: T) -> Vector2D<T, U>
Available on crate feature geometry only.
Expand description

Convenience constructor.