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

Function size2

pub const fn size2<T, U>(w: T, h: T) -> Size2D<T, U>
Available on crate feature geometry only.
Expand description

Shorthand for Size2D::new(w, h).