zng_layout::unit::euclid

Function size2

pub const fn size2<T, U>(w: T, h: T) -> Size2D<T, U>
Expand description

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