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